/in/foo.cc: In function 'bool bfs(int)':
/in/foo.cc:23:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:23: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:82:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,ip;
^
/in/foo.cc:82:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip;
^
/in/foo.cc:82: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:122:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:122:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,ip,ie;
^
/in/foo.cc:122: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:355:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=0;j<nc[to-n-1];j++)
^~~
/in/foo.cc:357:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
to=ip;
^~
/in/foo.cc:186:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^
/in/foo.cc:186:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^
/in/foo.cc:186:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to;
^
/in/foo.cc:186: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:378:6: warning: unused variable 'a' [-Wunused-variable]
int a,b;
^
/in/foo.cc:378:8: warning: unused variable 'b' [-Wunused-variable]
int a,b;
^
/in/foo.cc:383:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q;
^
/in/foo.cc:383:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q;
^