摘要: You got a box with a combination lock. The lock has a display showing n digits. There are two buttons on the box, each button changes ... 阅读全文
posted @ 2015-04-16 21:20 Herumw 阅读(153) 评论(0) 推荐(0) 编辑
摘要: During the lunch break all n Berland State University students lined up in the food court. However, it turned out that the food court,... 阅读全文
posted @ 2015-04-16 20:18 Herumw 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Crazy Town is a plane on which there are n infinite line roads. Each road is defined by the equation aix + biy + ci = 0, where ai and ... 阅读全文
posted @ 2015-04-14 20:58 Herumw 阅读(145) 评论(0) 推荐(0) 编辑
摘要: New Year is coming, and Jaehyun decided to read many books during 2015, unlike this year. He has n books numbered by integers from 1 t... 阅读全文
posted @ 2015-04-14 15:58 Herumw 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to t... 阅读全文
posted @ 2015-04-13 20:58 Herumw 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Fox Ciel is playing a mobile puzzle game called "Two Dots". The basic levels are played on a board of size n × m cells, like this:Each... 阅读全文
posted @ 2015-04-11 22:10 Herumw 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Someday, Drazil wanted to go on date with Varda. Drazil and Varda live on Cartesian plane. Drazil's home is located in point (0, 0) an... 阅读全文
posted @ 2015-04-10 10:50 Herumw 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Vitaly is a diligent student who never missed a lesson in his five years of studying in the university. He always does his homework on... 阅读全文
posted @ 2015-04-09 21:11 Herumw 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Anya has bought a new smartphone that uses Berdroid operating system. The smartphone menu has exactly n applications, each application... 阅读全文
posted @ 2015-04-09 17:08 Herumw 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Om Nom is the main character of a game "Cut the Rope". He is a bright little monster who likes visiting friends living at the other si... 阅读全文
posted @ 2015-04-08 18:24 Herumw 阅读(130) 评论(0) 推荐(0) 编辑