Compile Error
foo.cpp:3:5: error: cannot declare '::main' to be a global variable int main{ ^~~~ foo.cpp:4:2: error: expected primary-expression before 'int' int k; ^~~ foo.cpp:4:2: error: expected '}' before 'int' foo.cpp:6:2: error: expected unqualified-id before 'while' while(j<=k) ^~~~~ foo.cpp:12:2: error: 'cout' does not name a type cout<<i*i+j*j; ^~~~ foo.cpp:13:1: error: expected declaration before '}' token } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1543 极值问题
- 语言
- C++
- 递交时间
- 2017-03-15 16:37:22
- 评测时间
- 2017-03-15 16:37:22
- 评测机
- 分数
- 0
- 总耗时
- 875ms
- 峰值内存
- 0 Bytes