Wrong Answer
foo.cc: In function 'int main()':
foo.cc:22:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for(int i=1; i<=n; i++)
| ^~~
foo.cc:24:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
24 | int tot=0;
| ^~~
Found 18 testcases. [Hydro](https://hydro.ac)提供评测服务