2012年7月17日

<cf>Walking in the Rain

摘要: B. Walking in the Raintime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn Berland the opposition is going to arrange mass walking on the boulevard. The boulevard consists ofntiles that are lain in a row and are numbered from1tonfrom right to left. 阅读全文

posted @ 2012-07-17 23:04 铁树银花 阅读(299) 评论(0) 推荐(0) 编辑

<cf> Funky Numbers

摘要: A. Funky Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you very well know, this year's funkiest numbers are so called triangular numbers (that is, integers that are representable as, wherekis some positive integer), and the cooles 阅读全文

posted @ 2012-07-17 10:23 铁树银花 阅读(324) 评论(0) 推荐(0) 编辑

导航