摘要: Light, more lightThe ProblemThere is man named "mabu" for switching on-off light in our University. He switches on-off the lights in a corridor. Every bulb has its own toggle switch. That is, if it is pressed then the bulb turns on. Another press will turn it off. To save power consumption 阅读全文
posted @ 2013-05-15 17:16 楼兰故居 阅读(169) 评论(0) 推荐(0)
摘要: Problem B: MinesweeperThe ProblemHave you ever played Minesweeper? It's a cute little game which comes within a certain Operating System which name we can't really remember. Well, the goal of the game is to find where are all the mines within a MxN field. To help you, the game shows a number 阅读全文
posted @ 2013-05-15 12:42 楼兰故居 阅读(181) 评论(0) 推荐(0)