/in/foo.cc: In function 'int bfs(int)':
/in/foo.cc:56:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int pd(int, int, int)':
/in/foo.cc:59:8: warning: unused variable 'w' [-Wunused-variable]
int i,w,j;
^
/in/foo.cc:59:10: warning: unused variable 'j' [-Wunused-variable]
int i,w,j;
^
/in/foo.cc: In function 'int pl(int, int, int)':
/in/foo.cc:81:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(x>=0 && x<3) k=0;if(x>=3 && x<6) k=3; if(x>5) k=6;
^~
/in/foo.cc:81:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(x>=0 && x<3) k=0;if(x>=3 && x<6) k=3; if(x>5) k=6;
^~
/in/foo.cc:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(y>=0 && y<3) l=0;if(y>=3 && y<6) l=3; if(y>5) l=6;
^~
/in/foo.cc:82:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(y>=0 && y<3) l=0;if(y>=3 && y<6) l=3; if(y>5) l=6;
^~