carnival.cpp: In function 'int solve(int, int)':
carnival.cpp:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
9 | for(int i=l; i<=r; i++)cout<<i<<" "; cout<<endl;
| ^~~
carnival.cpp:9:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
9 | for(int i=l; i<=r; i++)cout<<i<<" "; cout<<endl;
| ^~~~
carnival.cpp: In function 'int main()':
carnival.cpp:30:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
30 | for(k=1; k<=n; k++)cout<<a[k]<<" "; cout<<endl;
| ^~~
carnival.cpp:30:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
30 | for(k=1; k<=n; k++)cout<<a[k]<<" "; cout<<endl;
| ^~~~