摘要: Problem Description In the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns 阅读全文
posted @ 2016-05-04 00:27 邻家那小孩儿 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Problem Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean 阅读全文
posted @ 2016-05-04 00:26 邻家那小孩儿 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Problem Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a 阅读全文
posted @ 2016-05-04 00:24 邻家那小孩儿 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Problem Description 完数的定义:如果一个大于1的正整数的所有因子之和等于它的本身,则称这个数是完数,比如6,28都是完数:6=1+2+3;28=1+2+4+7+14。本题的任务是判断两个正整数之间完数的个数。 Input 输入数据包含多行,第一行是一个正整数n,表示测试实例的个数 阅读全文
posted @ 2016-05-04 00:20 邻家那小孩儿 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Problem Description 挂盐水的时候,如果滴起来有规律,先是滴一滴,停一下;然后滴二滴,停一下;再滴三滴,停一下...,现在有一个问题:这瓶盐水一共有VUL毫升,每一滴是D毫升,每一滴的速度是一秒(假设最后一滴不到D毫升,则花费的时间也算一秒),停一下的时间也是一秒这瓶水什么时候能挂 阅读全文
posted @ 2016-05-04 00:16 邻家那小孩儿 阅读(98) 评论(0) 推荐(0) 编辑