/in/foo.cc: In function 'bool bfs(int)':
/in/foo.cc:21:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:21:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc: In function 'bool bfs1(int)':
/in/foo.cc:80:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,ip;
^
/in/foo.cc:80:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip;
^
/in/foo.cc:80:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,ip;
^
/in/foo.cc: In function 'bool bfs2(int)':
/in/foo.cc:120:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:120:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:120:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc: In function 'bool solve(int)':
/in/foo.cc:337:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=0;j<nc[to-n-1];j++)
^~~
/in/foo.cc:339:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
to=ip;
^~
/in/foo.cc:388:27: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=0;j<nc[to-n-1];j++)
^~~
/in/foo.cc:390:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
to=ip;
^~
/in/foo.cc:184:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^
/in/foo.cc:184:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^
/in/foo.cc:184:28: warning: unused variable 'from' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:416:6: warning: unused variable 'a' [-Wunused-variable]
int a,b;
^
/in/foo.cc:416:8: warning: unused variable 'b' [-Wunused-variable]
int a,b;
^
/in/foo.cc:419:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q;
^
/in/foo.cc:419:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q;
^