
BFS
文章平均质量分 82
Algobird
这个作者很懒,什么都没留下…
展开
-
POJ 3278 Catch That Cow (BFS)
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 54371 Accepted: 17001 Description Farmer John has been informed of the location of a fugit原创 2015-05-04 18:48:01 · 289 阅读 · 0 评论 -
POJ Flip Game(BFS + 位运算)
题目链接:http://poj.org/problem?id=1753 一个翻转会带动四周,求至少要几次才能全白或者全黑,不能输出Impossible。 总共也就1 #include #include #include #include #include #include using namespace std; char mp[5][5]; bool vis[1原创 2015-08-21 15:20:48 · 374 阅读 · 0 评论