0_0_31424300_28415.cpp:16:1: error: 'queue' does not name a type
queue<node>Q;
^
0_0_31424300_28415.cpp: In function 'void print(node, int, int)':
0_0_31424300_28415.cpp:30:15: error: 'putchar' was not declared in this scope
putchar(x.ch);
^
0_0_31424300_28415.cpp:33:14: error: 'putchar' was not declared in this scope
putchar(x.ch);
^
0_0_31424300_28415.cpp: In function 'int main()':
0_0_31424300_28415.cpp:39:34: error: 'memset' was not declared in this scope
memset(vis[kk],0,sizeof vis[kk]);
^
0_0_31424300_28415.cpp:51:3: error: 'Q' was not declared in this scope
Q.push(rec);
^
0_0_31424300_28415.cpp:62:34: error: 'swap' was not declared in this scope
swap(vec1.num[t],vec1.num[t1]);
^
0_0_31424300_28415.cpp:78:15: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_31424300_28415.cpp:82:4: error: 'cin' was not declared in this scope
cin>>ch;
^
0_0_31424300_28415.cpp:88:4: error: 'cin' was not declared in this scope
cin>>ch;
^
0_0_31424300_28415.cpp:94:39: error: 'puts' was not declared in this scope
if (!vis[k][ansk]) puts("unsolvable");
^
|