fancyfence.cpp: In function 'int maint()':
fancyfence.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(int i=N; i>0; i--) L[i] = L[i-1]; L[0] = 0;
| ^~~
fancyfence.cpp:17:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | for(int i=N; i>0; i--) L[i] = L[i-1]; L[0] = 0;
| ^
fancyfence.cpp:18:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(int i=N; i>0; i--) W[i] = W[i-1]; W[0] = 0;
| ^~~
fancyfence.cpp:18:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
18 | for(int i=N; i>0; i--) W[i] = W[i-1]; W[0] = 0;
| ^
fancyfence.cpp:47:9: error: expected ';' before 'ans'
47 | cout ans;
| ^~~~
| ;
fancyfence.cpp:47:5: warning: statement has no effect [-Wunused-value]
47 | cout ans;
| ^~~~
fancyfence.cpp:11:20: warning: control reaches end of non-void function [-Wreturn-type]
11 | vector<int> L(N), W(N);
| ^