DFS解决POJ 1979
摘要:
DescriptionThere 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 only on black tiles.Write a program to count the num 阅读全文
posted @ 2011-08-17 22:43 飞-虎 阅读(243) 评论(0) 推荐(0)
浙公网安备 33010602011771号