摘要: Problem Statement Snuke has a calculator. It has a display and two buttons. Initially, the display shows an integer x. Snuke wants to change this valu 阅读全文
posted @ 2016-12-25 23:12 樱花落舞 阅读(455) 评论(0) 推荐(0) 编辑
摘要: Description Santa Claus has Robot which lives on the infinite grid and can move along its lines. He can also, having a sequence of m points p1, p2, .. 阅读全文
posted @ 2016-12-25 23:09 樱花落舞 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Description Santa Claus decided to disassemble his keyboard to clean it. After he returned all the keys back, he suddenly realized that some pairs of 阅读全文
posted @ 2016-12-25 23:02 樱花落舞 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Description Santa Claus is the first who came to the Christmas Olympiad, and he is going to be the first to take his place at a desk! In the classroom 阅读全文
posted @ 2016-12-25 22:55 樱花落舞 阅读(339) 评论(0) 推荐(0) 编辑