/in/foo.cc: In function 'void add_(int, int, int, int, int)':
/in/foo.cc:34:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(map[x][i]=='P'&&!v[x][i][k]||v[x][i][k]>=bu)
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:40:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(map[i][y]=='P'&&!v[i][y][k]||v[i][y][k]>=bu)
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:47:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(map[x][i]=='P'&&!v[x][i][k]||v[x][i][k]>=bu)
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:54:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(map[i][y]=='P'&&!v[i][y][k]||v[i][y][k]>=bu)
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:65:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=m;i++)
^~~
/in/foo.cc:68:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(map[m][n]=='L'){cout<<"impossible"<<endl;return 0;}
^~