摘要: Max Sum Plus Plus PlusTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 659Accepted Submission(s): 312Problem Description给定一个由n个正整数组成的整数序列a1 a2 a3 ... an求按先后次序在其中取m段长度分别为l1、l2、l3...lm的不交叠的连续整数的和的最大值。Input第一行是一个整数n(0 ≤ n ≤ 1000),n = 0表示输入结束第二行的第一个数是m( 阅读全文
posted @ 2011-10-30 21:22 奋斗青春 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2227Find the nondecreasing subsequencesTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 476Accepted Submission(s): 186Problem DescriptionHow many nondecreasing subsequences can you find in the sequence 阅读全文
posted @ 2011-10-30 09:32 奋斗青春 阅读(1420) 评论(3) 推荐(1) 编辑