摘要: 2090: Clay BullyResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K421266StandardMs. Terry is a pre-school art teacher who likes to have her students work with clay. One of her assignments is to form a lump of clay into a block and then measure the dimensions of the block. However, in every cl 阅读全文
posted @ 2012-01-25 22:50 漂木 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 2230: Peter's smokesResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE1s8192K976410StandardPeter has n cigarettes. He smokes them one by one keeping all the butts. Out of k > 1 butts he can roll a new cigarette.How many cigarettes can Peter have?Input SpecificationInput is a sequence of lines 阅读全文
posted @ 2012-01-25 21:57 漂木 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1023: Digital RootsResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K63851371StandardBackgroundThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting value contains tw 阅读全文
posted @ 2012-01-25 18:14 漂木 阅读(187) 评论(0) 推荐(0) 编辑