
字符串
文章平均质量分 54
Peppermint__
这个作者很懒,什么都没留下…
展开
-
LeetCode 72. Edit Distance 115. Distinct Subsequences 字符串 DP
72. Edit Distance Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operati...原创 2018-02-28 11:03:00 · 193 阅读 · 0 评论 -
蓝桥杯 十六进制转八进制 字符串处理
问题描述 给定n个十六进制正整数,输出它们对应的八进制数。 输入格式 输入的第一行为一个正整数n (1<=n<=10)。 接下来n行,每行一个由0~9、大写字母A~F组成的字符串,表示要转换的十六进制正整数,每个十六进制数长度不超过100000。 输出格式 输出n行,每行为输入对应的八进制正整数。 【注意】 ...原创 2018-03-11 14:57:46 · 443 阅读 · 0 评论