#include
#include
using namespace std;
bool check(string s, char c) {
for(int i = 0; i > n >> m;
if(!n && !m)
break;
string s;
bool FLAG = false;
bool flag = true;
for(int i = 0; i > s;
ss = s;
for(int j = 0; j = n && !FLAG) {
memset(que,0,sizeof que);
for(int x = 0; x1 && i == m - 1) {
cout1)
break;
}
}
while(front就可以编译了