Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P2389 1.5.39:与7无关的数
语言
C++
递交时间
2021-12-27 09:55:01
评测时间
2021-12-27 09:55:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes