foo.cc: In function ‘int main()’:
foo.cc:20:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
20 | for(int i=1;i<=r;i++)
| ^~~
foo.cc:23:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
23 | q.push(node(1,1,1));
| ^
foo.cc:38:33: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
38 | if(nx>=1&&nx<=r&&ny>=1&&ny<=c&&ch[nx][ny]=='.')
| ^~
foo.cc:40:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
40 | ch[nx][ny]='#';
| ^~