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