Compile Error
/in/foo.cc:3:5: error: cannot declare '::main' to be a global variable int main{ ^~~~ /in/foo.cc:4:13: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<' cout<<4<endl<<6; ~~~~^~~ /in/foo.cc:4:16: error: expected '}' before ';' token cout<<4<endl<<6; ^ /in/foo.cc:5:1: error: expected unqualified-id before 'return' return 0; ^~~~~~ /in/foo.cc:6:1: error: expected declaration before '}' token } ^
信息
- 递交者
- 类型
- 递交
- 题目
- Moving Chess
- 语言
- C++
- 递交时间
- 2019-01-29 17:23:15
- 评测时间
- 2019-01-29 17:23:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes