foo.cc: In function 'int main()':
foo.cc:12:5: warning: statement has no effect [-Wunused-value]
12 | x/10;
| ~^~~
foo.cc:15:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
15 | else
| ^~~~
foo.cc:17:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
17 | if(i%10==0)cout<<char(10);
| ^~
foo.cc:19:10: error: expected '}' at end of input
19 | return 0;
| ^
foo.cc:5:1: note: to match this '{'
5 | {
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务