XiaoMing likes mathematics, and heis just learning how to convert numbers between different bases , but he keeps making errorssince he is only 6 years ...
分类:
其他好文 时间:
2018-05-10 19:59:55
阅读次数:
206
https://vjudge.net/problem/POJ-3617 这类字符串处理字典序问题经常用到贪心, 每决定输出一个字符之前,都要前后i++,j--逐个比大小,直至比出为止。 ...
分类:
其他好文 时间:
2018-05-06 20:38:02
阅读次数:
153
XiaoMing likes mathematics, and heis just learning how to convert numbers between different bases , but he keeps making errorssince he is only 6 years ...
分类:
其他好文 时间:
2018-05-06 14:53:41
阅读次数:
194
题目链接: http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=36 最长公共子序列 时间限制:3000 ms | 内存限制:65535 KB 难度:3 最长公共子序列 时间限制:3000 ms | 内存限制:65535 KB 难度:3 ...
分类:
其他好文 时间:
2018-05-06 12:17:04
阅读次数:
175
题目链接: http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=44 子串和 时间限制:5000 ms | 内存限制:65535 KB 难度:3 子串和 时间限制:5000 ms | 内存限制:65535 KB 难度:3 ...
分类:
其他好文 时间:
2018-05-06 12:15:34
阅读次数:
188
题目链接: http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=171 分析: kk每次只能向右边和下边走,所以取他的上面和左边的最大值加上自己 dp[i][j]=f_max(dp[i-1][j],dp[i][j-1])+a[i][j]; 代码如下 ...
分类:
其他好文 时间:
2018-05-05 17:18:30
阅读次数:
178
信道安全 时间限制:1000 ms | 内存限制:65535 KB 难度:2 信道安全 时间限制:1000 ms | 内存限制:65535 KB 难度:2 ...
分类:
其他好文 时间:
2018-05-05 11:54:21
阅读次数:
173
Supermarket 时间限制:1000 ms | 内存限制:65535 KB 难度:4 Supermarket 时间限制:1000 ms | 内存限制:65535 KB 难度:4 A supermarket has a set Prod of products on sale. It earns ...
分类:
其他好文 时间:
2018-05-05 01:04:55
阅读次数:
188
动物统计加强版 时间限制:3000 ms | 内存限制:150000 KB 难度:4 动物统计加强版 时间限制:3000 ms | 内存限制:150000 KB 难度:4 模板 struct node、 void my_insert(char *s)、 root: C/C++代码实现(AC): hd ...
分类:
其他好文 时间:
2018-05-03 20:53:40
阅读次数:
236
Registration system 时间限制:1000 ms | 内存限制:65535 KB 难度:2 Registration system 时间限制:1000 ms | 内存限制:65535 KB 难度:2 A new e-mail service "Berlandesk" is going ...
分类:
其他好文 时间:
2018-05-03 14:23:15
阅读次数:
173