dfs
星星的泪痕
这个作者很懒,什么都没留下…
展开
-
C - Oil Deposits
点击打开链接The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid原创 2017-08-01 16:13:38 · 208 阅读 · 0 评论 -
A - Red and Black
点击打开链接There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles.原创 2017-08-01 16:10:56 · 609 阅读 · 0 评论 -
B - Tempter of the Bone
点击打开链接The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized th原创 2017-08-04 18:37:22 · 151 阅读 · 0 评论 -
D - Fox And Two Dots
点击打开链接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 cell contains a dot that has some color. We w原创 2017-08-04 18:39:11 · 161 阅读 · 0 评论 -
E - How Many Equations Can You Find
点击打开链接Now give you an string which only contains 0, 1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9.You are asked to add the sign ‘+’ or ’-’ between the characters. Just like give you a string “12345”, you can work o原创 2017-08-04 18:40:40 · 156 阅读 · 0 评论 -
F - Lakes in Berland
点击打开链接The map of Berland is a rectangle of the size n × m, which consists of cells of size1 × 1. Each cell is either land or water. The map is surrounded by the ocean.Lakes are the maximal reg原创 2017-08-04 18:42:44 · 173 阅读 · 1 评论