Compile Error
foo.cc:2:5: error: cannot declare '::main' to be a global variable int main ^~~~ foo.cc:4:2: error: expected primary-expression before 'int' int a,b; ^~~ foo.cc:4:2: error: expected '}' before 'int' foo.cc:5:2: error: 'cout' does not name a type cout<<a+b<<endl; ^~~~ foo.cc:6:2: error: expected unqualified-id before 'return' return 0; ^~~~~~ foo.cc:7:1: error: expected declaration before '}' token } ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- P1176 签到啦
- 语言
- C++
- 递交时间
- 2021-03-01 15:27:49
- 评测时间
- 2021-03-01 15:27:49
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes