foo.cc: In function 'int main()':
foo.cc:18:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
18 | if(ls>3)
| ^~
foo.cc:20:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
20 | a[x[i]]+=ls;
| ^
foo.cc:7:18: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | int n,x1,ls,i,m,score=0;
| ^
foo.cc:15:13: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | ls++;
| ~~^~
[Hydro](https://hydro.ac)提供评测服务