记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type; did you mean '__has_include'?
 include <stdio.h>
 ^~~~~~~
 __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:30
评测时间
2018-11-25 22:46:30
评测机
分数
0
总耗时
10ms
峰值内存
2.918 MiB