记录详情

Compile Error

foo.cc:11:14: error: stray '\357' in program
     if(x == 0)
              ^
foo.cc:11:15: error: stray '\274' in program
     if(x == 0)
               ^
foo.cc:11:16: error: stray '\211' in program
     if(x == 0)
                ^
foo.cc: In function 'void h(int)':
foo.cc:11:8: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
     if(x == 0)
        ^
foo.cc:12:9: error: expected ';' before 'return'
         return;
         ^~~~~~
foo.cc:11:10: warning: statement has no effect [-Wunused-value]
     if(x == 0)
        ~~^~~~
foo.cc:13:5: error: expected primary-expression before 'else'
     else if(x % 10 == 7)
     ^~~~
foo.cc:13:5: error: expected ')' before 'else'
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
周末测试2
语言
C++
递交时间
2021-09-24 20:04:04
评测时间
2021-09-24 20:04:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes