3275: NumberTime Limit: 10 SecMemory Limit: 128 MBSubmit: 372Solved: 153[Submit][Status]Description有N个正整数,需要从中选出一些数,使这些数的和最大。若两个数a,b同时满足以下条件,则a,b不能同时被... Read More
posted @ 2014-12-13 21:39 ZYF-ZYF Views(236) Comments(0) Diggs(0) Edit
2946: [Poi2000]公共串Time Limit: 3 SecMemory Limit: 128 MBSubmit: 55Solved: 33[Submit][Status]Description 给出几个由小写字母构成的单词,求它们最长的公共子串的长度。任务:l 读入单词l 计算最长公共子... Read More
posted @ 2014-12-13 17:45 ZYF-ZYF Views(228) Comments(0) Diggs(0) Edit
2947: [Poi2000]促销Time Limit: 10 SecMemory Limit: 128 MBSubmit: 58Solved: 33[Submit][Status]DescriptionBytelandish连锁超市委托你编写一个程序来模拟一项即将施行的促销活动,该活动的规则如下:... Read More
posted @ 2014-12-13 17:07 ZYF-ZYF Views(336) Comments(0) Diggs(0) Edit