摘要: ProblemC.HungryRabbitInputfile:hungry.inOutputfile:hungry.outTimelimit:10secondsMemorylimit:512megabytes可怕的洪水在夏天不期而至,兔子王国遭遇了前所未有的饥荒,它们不得不去外面的森林里寻找食物。为... 阅读全文
posted @ 2015-08-09 20:51 CXCXCXC 阅读(410) 评论(0) 推荐(0) 编辑
摘要: ProblemB.TreeInputfile:tree.inOutputfile:tree.outTimelimit:2secondsMemorylimit:256megabytes香香有一棵高度为h的完全二叉树,根节点的标号为1,高度为1,对于每个非叶子节点i,高度h,它的左儿子的标号为2*i,高... 阅读全文
posted @ 2015-08-09 20:15 CXCXCXC 阅读(182) 评论(0) 推荐(0) 编辑
摘要: ProblemA.ChemistryInputfile:chemistry.inOutputfile:chemistry.outTimelimit:1secondsMemorylimit:256megabytes香香手中有n瓶化学药剂,每瓶化学药剂都有一个能量值ai。现在她想把这些药剂的能量值全部变... 阅读全文
posted @ 2015-08-09 19:57 CXCXCXC 阅读(298) 评论(0) 推荐(0) 编辑