dp
文章平均质量分 53
Jack_zhuiyi
这个作者很懒,什么都没留下…
展开
-
zcmu1037
1037: I want you!Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 261 Solved: 64[Submit][Status][Web Board]DescriptionGiven an array Ai(0<=i<n), its length is n; We want to find an another array ...原创 2018-03-07 00:36:53 · 314 阅读 · 0 评论 -
zcmu1051
1051: Divide ChocolateTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 51 Solved: 31[Submit][Status][Web Board]DescriptionIt is well known that Claire likes dessert very much, especially chocolate. But...原创 2018-03-08 20:24:42 · 256 阅读 · 0 评论 -
zcmu1166
1166: 忠哥的dp(II)Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 132 Solved: 53[Submit][Status][Web Board]Description有n种硬币,面值分别为v1,v2,…,vn。每种都有无限多。给定非负整数s,可以选用多少个硬币,使得面值之和恰好为s?输出硬币数目的最小值和最大值。Input多组测试数据...原创 2018-03-10 11:31:38 · 243 阅读 · 0 评论 -
E - DNA Sequence POJ - 2778
It’s well known that DNA Sequence is a sequence only contains A, C, T and G, and it’s very useful to analyze a segment of DNA Sequence,For example, if a animal’s DNA sequence contains segment ATC then...原创 2018-03-22 21:28:39 · 451 阅读 · 0 评论 -
pat L2-008. 最长对称子串
L2-008. 最长对称子串 时间限制 100 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 对给定的字符串,本题要求你输出最长对称子串的长度。例如,给定”Is PAT&TAP symmetric?”,最长对称子串为”s PAT&TAP s”,于是你应该输出11。 输入格式: 输入在一行中给出长度不超...原创 2018-03-20 23:27:28 · 529 阅读 · 0 评论