摘要: Boxes in a LineYou have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4kinds of commands:? 1 X Y : mo... 阅读全文
posted @ 2015-02-01 15:02 daydaycode 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Problem BBroken Keyboard (a.k.a. Beiju Text)You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem with the... 阅读全文
posted @ 2015-02-01 12:09 daydaycode 阅读(252) 评论(0) 推荐(0) 编辑
摘要: B. Painting Pebblestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n piles of pebbles o... 阅读全文
posted @ 2015-02-01 00:07 daydaycode 阅读(175) 评论(0) 推荐(0) 编辑