shortcut.cpp: In function 'll solve(ll)':
shortcut.cpp:21:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if (i>1) update(m4[i][j],m4[i-1][j]); if (j>i+1) update(m4[i][j],m4[i][j-1]);
| ^~
shortcut.cpp:21:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | if (i>1) update(m4[i][j],m4[i-1][j]); if (j>i+1) update(m4[i][j],m4[i][j-1]);
| ^~
shortcut.cpp:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 | if (l>1) update(m3[l][r],m3[l-1][r]); if (r<n) update(m3[l][r],m3[l][r+1]);
| ^~
shortcut.cpp:29:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
29 | if (l>1) update(m3[l][r],m3[l-1][r]); if (r<n) update(m3[l][r],m3[l][r+1]);
| ^~
shortcut.cpp:33:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
33 | if (l+1<r) update(m1[l][r],m1[l+1][r]); if (r<n) update(m1[l][r],m1[l][r+1]);
| ^~
shortcut.cpp:33:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
33 | if (l+1<r) update(m1[l][r],m1[l+1][r]); if (r<n) update(m1[l][r],m1[l][r+1]);
| ^~
shortcut.cpp: In function 'll find_shortcut(int, std::vector<int>, std::vector<int>, int)':
shortcut.cpp:62:9: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
62 | return res;
| ^~~