Compile Error
/in/foo.cc:1:1: error: 'include' does not name a type; did you mean '__has_include'? include <iostream> ^~~~~~~ __has_include /in/foo.cc: In function 'int main()': /in/foo.cc:7:2: error: 'cin' was not declared in this scope cin >> n ^~~ /in/foo.cc:7:2: note: suggested alternative: 'main' cin >> n ^~~ main /in/foo.cc:10:2: error: 'else' without a previous 'if' else ^~~~ /in/foo.cc:11:3: error: 'cout' was not declared in this scope cout << 4*n + 10; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 量大从优
- 语言
- C++
- 递交时间
- 2018-11-25 22:46:16
- 评测时间
- 2018-11-25 22:46:16
- 评测机
- 分数
- 0
- 总耗时
- 10ms
- 峰值内存
- 2.793 MiB