摘要: Max Sum Plus Plus PlusTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 838 Accepted Submission(s): 417Problem Description给定一个由n个正整数组成的整数序列a1 a2 a3 ... an求按先后次序在其中取m段长度分别为l1、l2、l3...lm的不交叠的连续整数的和的最大值。Input第一行是一个整数n(0 ≤ n ≤ 1000),n = 0表示输入结束第二行的第一个数是 阅读全文
posted @ 2013-01-27 12:42 剑不飞 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Pascal's Travels Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1115 Accepted Submission(s): 488Problem DescriptionAn n x n game board is populated with integers, one nonnegative integer per square. The goal is to travel along any legitimate 阅读全文
posted @ 2013-01-27 10:34 剑不飞 阅读(191) 评论(0) 推荐(0) 编辑