摘要: Problem description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live 阅读全文
posted @ 2018-06-17 13:22 霜雪千年 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Problem description So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and 阅读全文
posted @ 2018-06-17 11:30 霜雪千年 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Problem description Vasya has n pairs of socks. In the morning of each day Vasya has to put on a pair of socks before he goes to school. When he comes 阅读全文
posted @ 2018-06-17 11:16 霜雪千年 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Problem description Recently, Anton has found a set. The set consists of small English letters. Anton carefully wrote out all the letters from the set 阅读全文
posted @ 2018-06-17 11:03 霜雪千年 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Problem description Vanya and his friends are walking along the fence of height h and they do not want the guard to notice them. In order to achieve t 阅读全文
posted @ 2018-06-17 10:21 霜雪千年 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Problem description Xenia lives in a city that has n houses built along the main ringroad. The ringroad houses are numbered 1 through n in the clockwi 阅读全文
posted @ 2018-06-17 10:04 霜雪千年 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Problem description Sheldon, Leonard, Penny, Rajesh and Howard are in the queue for a "Double Cola" drink vending machine; there are no other people i 阅读全文
posted @ 2018-06-17 08:45 霜雪千年 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Problem description Fox Ciel starts to learn programming. The first task is drawing a fox! However, that turns out to be too hard for a beginner, so s 阅读全文
posted @ 2018-06-17 07:30 霜雪千年 阅读(447) 评论(0) 推荐(0) 编辑