/in/foo.cc: In function 'int bfs(int)':
/in/foo.cc:60: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:63:8: warning: unused variable 'w' [-Wunused-variable]
int i,w,j;
^
/in/foo.cc:63:10: warning: unused variable 'j' [-Wunused-variable]
int i,w,j;
^
/in/foo.cc: In function 'int pl(int, int, int)':
/in/foo.cc:85: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:85: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:86: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:86: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;
^~