/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:346:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=0;j<nc[to-n-1];j++)
^~~
/in/foo.cc:348:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
to=ip;
^~
/in/foo.cc:184:10: warning: unused variable 's' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to,ts=0;
^
/in/foo.cc:184:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to,ts=0;
^
/in/foo.cc:184:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to,ts=0;
^
/in/foo.cc:184:28: warning: unused variable 'from' [-Wunused-variable]
int i,j,s,p,q,dx,dy,id,ip,from,to,ts=0;
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:406:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(s=0;s<n;s++)
^~~
/in/foo.cc:412:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d\n",i);
^~~~~~
/in/foo.cc:369:6: warning: unused variable 'a' [-Wunused-variable]
int a,b;
^
/in/foo.cc:369:8: warning: unused variable 'b' [-Wunused-variable]
int a,b;
^
/in/foo.cc:371:12: warning: unused variable 'p' [-Wunused-variable]
int i,j,s,p,q;
^
/in/foo.cc:371:14: warning: unused variable 'q' [-Wunused-variable]
int i,j,s,p,q;
^