摘要: 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 @ 2012-02-01 14:13 zhsl 阅读(132) 评论(0) 推荐(0) 编辑