1 const int INF = 0x3ffffff; 2 //用来存无穷 3 4 q.push(x*100+y); 5 int tmp=q.front(); 6 x=tmp/100; y=tmp%100; 7 //省地方啊
char str[100]; memset(str,0,sizeof(str));
1 while(!q.empty())q.pop();