摘要: Polycarp is a beginner programmer. He is studying how to use a command line. Polycarp faced the following problem. There are n files in a directory an 阅读全文
posted @ 2018-05-10 23:12 天之道,利而不害 阅读(262) 评论(0) 推荐(0) 编辑
摘要: A group of n friends enjoys playing popular video game Toda 2. There is a rating system describing skill level of each player, initially the rating of 阅读全文
posted @ 2018-05-10 23:06 天之道,利而不害 阅读(189) 评论(0) 推荐(0) 编辑
摘要: A. Links and Pearls 题解:~~~没啥说的,没有pearls也算YES!!! B. Marlin 题解:k是偶数,好办。k是奇数,分类讨论,如果k<=n-2,放在中间。如果k>n-2,第三排第1个位置和第n-2个位置放上‘#’(0到n-1)。至于为啥子,拿笔画一下就明白了。 C. 阅读全文
posted @ 2018-05-10 00:02 天之道,利而不害 阅读(228) 评论(0) 推荐(0) 编辑