0_0_14571168_30624.cpp: In function 'void BFS(node)':
0_0_14571168_30624.cpp:22:39: error: 'memset' was not declared in this scope
memset(visited, 0, sizeof(visited));
^
0_0_14571168_30624.cpp:23:5: error: 'queue' was not declared in this scope
queue<node> Q;
^
0_0_14571168_30624.cpp:23:15: error: expected primary-expression before '>' token
queue<node> Q;
^
0_0_14571168_30624.cpp:23:17: error: 'Q' was not declared in this scope
queue<node> Q;
^
0_0_14571168_30624.cpp: In function 'int main()':
0_0_14571168_30624.cpp:49:50: error: 'scanf' was not declared in this scope
while(~scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)){
^
0_0_14571168_30624.cpp:57:49: error: 'printf' was not declared in this scope
printf("Case %d: %d\n",k++,cnt[M.x][M.y]);
^
|