上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页
摘要: DescriptionSean准备投资一些项目。有n个投资项目,投资第i个项目需要花费Ci元。Sean发现如果投资了某些编号连续的项目就能赚得一定的钱。现在给出m组连续的项目和每组能赚得的钱,请问采取最优的投资策略的最大获利是多少?样例最佳策略是全部项目都投资,然后第1,2组都满足了,获利为2+2-... 阅读全文
posted @ 2014-11-27 10:44 hl_mark 阅读(169) 评论(0) 推荐(0) 编辑
摘要: D. Chocolatetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus likes giving presents to P... 阅读全文
posted @ 2014-11-23 22:07 hl_mark 阅读(323) 评论(0) 推荐(0) 编辑
摘要: C. Hacking Cyphertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus participates in a com... 阅读全文
posted @ 2014-11-23 21:54 hl_mark 阅读(474) 评论(0) 推荐(0) 编辑
摘要: 字串数Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3187Accepted Submission(s): 757Problem Descript... 阅读全文
posted @ 2014-11-22 14:44 hl_mark 阅读(635) 评论(0) 推荐(0) 编辑
摘要: Fight the Monster time limit per test 1 second memory limit per test 256 megabytes ... 阅读全文
posted @ 2014-11-22 09:45 hl_mark 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 简单计算器Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12832Accepted Submission(s): 4222Problem Desc... 阅读全文
posted @ 2014-11-20 00:57 hl_mark 阅读(171) 评论(0) 推荐(0) 编辑
摘要: ArbitrageTime Limit:1000MSMemory Limit:65536KTotal Submissions:16175Accepted:6803DescriptionArbitrage is the use of discrepancies in currency exchange... 阅读全文
posted @ 2014-11-15 13:52 hl_mark 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Cow ContestTime Limit:1000MSMemory Limit:65536KTotal Submissions:7156Accepted:3957DescriptionN(1 ≤N≤ 100) cows, con... 阅读全文
posted @ 2014-11-15 11:10 hl_mark 阅读(151) 评论(0) 推荐(0) 编辑
摘要: MPI MaelstromTime Limit:1000MSMemory Limit:10000KTotal Submissions:5547Accepted:3458DescriptionBIT has recently take... 阅读全文
posted @ 2014-11-15 10:40 hl_mark 阅读(129) 评论(0) 推荐(0) 编辑
摘要: WormholesTime Limit:2000MSMemory Limit:65536KTotal Submissions:31992Accepted:11614DescriptionWhile exploring his m... 阅读全文
posted @ 2014-11-12 13:38 hl_mark 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页