BFS
Algobird
这个作者很懒,什么都没留下…
展开
-
POJ 3278 Catch That Cow (BFS)
Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 54371 Accepted: 17001DescriptionFarmer John has been informed of the location of a fugit原创 2015-05-04 18:48:01 · 272 阅读 · 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 · 352 阅读 · 0 评论