prison.cpp: In function 'std::vector<std::vector<int> > devise_strategy(int)':
prison.cpp:25:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
25 | if(s[1][j]>=0)
| ^
prison.cpp:24:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
24 | for(int j=1;j<=N;j++)
| ^~~
prison.cpp:27:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
27 | for(int j=1;j<=N;j++)
| ^~~
prison.cpp:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
28 | if(s[u+1][j]>=0)
| ^~
prison.cpp:30:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
30 | if((u+1)%2)s[0][0]=1; else s[0][0]=0;
| ^~
prison.cpp:28:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
28 | if(s[u+1][j]>=0)
| ^