记录详情

Compile Error

/in/foo.cc:3:9: error: stray '\357' in program
 int main()               
         ^
/in/foo.cc:3:10: error: stray '\274' in program
 int main()               
          ^
/in/foo.cc:3:11: error: stray '\210' in program
 int main()               
           ^
/in/foo.cc:3:12: error: stray '\357' in program
 int main()               
            ^
/in/foo.cc:3:13: error: stray '\274' in program
 int main()               
             ^
/in/foo.cc:3:14: error: stray '\211' in program
 int main()               
              ^
/in/foo.cc:3:5: error: cannot declare '::main' to be a global variable
 int main()               
     ^~~~
/in/foo.cc:5:4: error: expected primary-expression before 'int'
    int a,b;
    ^~~
/in/foo.cc:5:4: error: expected '}' before 'int'
/in/foo.cc:6:4: error: 'cin' does not name a type
    cin>>a>>b;
    ^~~
/in/foo.cc:7:4: error: 'cout' does not name a type
    cout<<a+b;
    ^~~~
/in/foo.cc:8:5: error: expected unqualified-id before 'return'
     return 0;  
     ^~~~~~
/in/foo.cc:9:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
测试
题目数据
下载
语言
C++
递交时间
2018-10-04 20:24:29
评测时间
2018-10-04 20:24:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes