HDU1312 BFS JAVA
Problem Description
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. But he can’t move on red tiles, he can move onl
原创
2020-08-12 20:49:09 ·
140 阅读 ·
0 评论