上一页 1 2 3 4 5 6 7 ··· 35 下一页
摘要: D. Jury Meeting time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output Country of Metropolia is 阅读全文
posted @ 2017-09-07 21:21 贱人方 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Roads 题目描述 In ICPCCamp, there are n towns conveniently labeled with 1,2,…,n and m bidirectional roads planned to be built. The i-th road will be built 阅读全文
posted @ 2017-09-07 10:17 贱人方 阅读(369) 评论(0) 推荐(0) 编辑
摘要: Query on A Tree 题目描述 Monkey A lives on a tree. He always plays on this tree.One day, monkey A learned about one of the bit-operations, xor. He was kee 阅读全文
posted @ 2017-08-31 11:10 贱人方 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Lazy Running Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 101 Accepted Submission(s): 40 Pro 阅读全文
posted @ 2017-08-23 19:53 贱人方 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Ch’s gift Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 662 Accepted Submission(s): 229 Problem 阅读全文
posted @ 2017-08-23 11:21 贱人方 阅读(421) 评论(1) 推荐(1) 编辑
摘要: 整数划分 将N分为若干个不同整数的和,有多少种不同的划分方式,例如:n = 6,{6} {1,5} {2,4} {1,2,3},共4种。由于数据较大,输出Mod 10^9 + 7的结果即可。 将N分为若干个不同整数的和,有多少种不同的划分方式,例如:n = 6,{6} {1,5} {2,4} {1, 阅读全文
posted @ 2017-08-17 10:40 贱人方 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 最大M子段和 N个整数组成的序列a[1],a[2],a[3],…,a[n],将这N个数划分为互不相交的M个子段,并且这M个子段的和是最大的。如果M >= N个数中正数的个数,那么输出所有正数的和。 例如:-2 11 -4 13 -5 6 -2,分为2段,11 -4 13一段,6一段,和为26。 N个 阅读全文
posted @ 2017-08-17 10:35 贱人方 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 度度熊的交易计划 Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 254 Accepted Submission(s): 80 Problem 阅读全文
posted @ 2017-08-13 19:36 贱人方 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 小小粉丝度度熊 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 197 Accepted Submission(s): 78 Problem De 阅读全文
posted @ 2017-08-13 19:32 贱人方 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Two Paths time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output Two Paths time limit per test 2 阅读全文
posted @ 2017-08-12 10:04 贱人方 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 35 下一页