0_0_22024844_58.cpp: In function 'bool bfs()':
0_0_22024844_58.cpp:43:5: error: 'queue' was not declared in this scope
queue<node> q;
^
0_0_22024844_58.cpp:43:15: error: expected primary-expression before '>' token
queue<node> q;
^
0_0_22024844_58.cpp:43:17: error: 'q' was not declared in this scope
queue<node> q;
^
0_0_22024844_58.cpp: In function 'int main()':
0_0_22024844_58.cpp:117:30: error: 'memset' was not declared in this scope
memset(vis,-1,sizeof(vis));
^
0_0_22024844_58.cpp:120:24: error: 'scanf' was not declared in this scope
while(scanf("%s",ss)!=EOF)
^
0_0_22024844_58.cpp:120:27: error: 'EOF' was not declared in this scope
while(scanf("%s",ss)!=EOF)
^
0_0_22024844_58.cpp:130:44: error: 'printf' was not declared in this scope
if(res[t].now==1)printf("d");
^
0_0_22024844_58.cpp:131:44: error: 'printf' was not declared in this scope
if(res[t].now==2)printf("u");
^
0_0_22024844_58.cpp:132:44: error: 'printf' was not declared in this scope
if(res[t].now==3)printf("r");
^
0_0_22024844_58.cpp:133:44: error: 'printf' was not declared in this scope
if(res[t].now==4)printf("l");
^
0_0_22024844_58.cpp:138:32: error: 'printf' was not declared in this scope
printf("unsolvable");
^
0_0_22024844_58.cpp:139:20: error: 'printf' was not declared in this scope
printf("\n");
^
|