2011年4月13日

zoj2050Flip Game

摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1050位运算+BFS^运算表示 翻转#include<iostream>#include<string>#include<queue>#include<cstring>using namespace std;int vis[(1<<16)+1],dir[5][2]={1,0,-1,0,0,1,0,-1,0,0};int ANS;struct node{ int step,key;};node fir;string m 阅读全文
posted @ 2011-04-13 21:31 4.5.6 阅读(216) 评论(0) 推荐(0) 编辑