foo.cc: In function 'int main()':
foo.cc:46:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
46 | for (int s=1;s<=n1;s++)
| ^~~
foo.cc:48:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
48 | a[] += x;
| ^
foo.cc:48:5: error: expected primary-expression before ']' token
48 | a[] += x;
| ^
foo.cc:49:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
49 | for (int j=1;j<=n2;j++)
| ^~~
foo.cc:51:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
51 | b[] += x;
| ^
foo.cc:51:5: error: expected primary-expression before ']' token
51 | b[] += x;
| ^
[Hydro](https://hydro.ac)提供评测服务