摘要: 统计难题Problem DescriptionIgnatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀).Input输入数据的第一部分是一张单词表,每行一个单... 阅读全文
posted @ 2017-12-03 21:02 _大美 阅读(117) 评论(0) 推荐(0) 编辑
摘要: GukiZ hates BoxesProfessor GukiZ is concerned about making his way to school, because massive piles of boxes are blocking his way.In t... 阅读全文
posted @ 2017-12-03 14:11 _大美 阅读(196) 评论(0) 推荐(0) 编辑
摘要: k-roundingFor a given positive integer n denote its k-rounding as the minimum positive integer x, such that x ends with k or more zero... 阅读全文
posted @ 2017-12-03 10:46 _大美 阅读(205) 评论(0) 推荐(0) 编辑
摘要: C. Marco and GCD Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a dre... 阅读全文
posted @ 2017-12-03 10:09 _大美 阅读(111) 评论(0) 推荐(0) 编辑