0_0_29854016_32499.cpp: In function 'void BFS(int, int)':
0_0_29854016_32499.cpp:28:5: error: 'ans' was not declared in this scope
ans++;
^
0_0_29854016_32499.cpp:34:16: error: 'ans' was not declared in this scope
printf("%d\n",ans);
^
0_0_29854016_32499.cpp: In function 'int main()':
0_0_29854016_32499.cpp:39:3: error: 'ans' was not declared in this scope
ans = 1;
^
|