foo.cc: In function 'int search(int, int, int*)':
foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
10 | for(int i=0; i<n; i++)
| ^~~
foo.cc:13:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
13 | return -1;
| ^~~~~~
foo.cc: In function 'int Q(int, int*)':
foo.cc:42:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
42 | for(int i=0; i<n; i++)
| ^~~
foo.cc:45:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
45 | return -1;
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务