2012年11月26日

CF 151 C. Beauty Pageant

摘要: C. Beauty Pageanttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeneral Payne has a battalion of n soldiers. The soldiers' beauty contest is coming up, it will last for k days. Payne decided that his battalion will participate in the pageant 阅读全文

posted @ 2012-11-26 11:45 仁者无敌8勇者无惧 阅读(382) 评论(4) 推荐(0) 编辑

CF 152 B. Chilly Willy

摘要: B. Chilly Willytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputChilly Willy loves playing with numbers. He only knows prime numbers that are digits yet. These numbers are 2, 3, 5 and 7. But Willy grew rather bored of such numbers, so he came up w 阅读全文

posted @ 2012-11-26 10:29 仁者无敌8勇者无惧 阅读(348) 评论(0) 推荐(0) 编辑

导航