当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
5 5 0 1 1 18 20 20 20 20 18 20 20 20 20 18 20 18 18 18 18 20 18 20 18 18 18 18 20 7 5 5 7 5 8 23 16 3 2 28 26 8 1 16 19 16 17 26 12 4 30 1 3 3 4 14 4 7 28 12
25 -1
The rectangle has n rows and m columns. The entrance (1,1) is at the top left corner. She can see the light if it is only blocked by the side of some grids. Both Little White and the lamp are to be considered as points, placed at the center of the grid. Her power must be greater than 0 at any given time during her exploration.
Recommend | gaojie |
时间上限 | 内存上限 |
5000/1000MS(Java/Others) | 32768/32768K(Java/Others) |