foo.cc: In function 'int main()':
foo.cc:39:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
39 | while (missile[++n] = read()); n--;
| ~~~~~~~~~~~~~^~~~~~~~
foo.cc:39:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
39 | while (missile[++n] = read()); n--;
| ^~~~~
foo.cc:39:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
39 | while (missile[++n] = read()); n--;
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务