记录详情

Compile Error

/in/foo.cc: In function 'void input(int*)':
/in/foo.cc:5:2: error: 'cout' was not declared in this scope
  cout<<a[i]<<endl;
  ^~~~
/in/foo.cc:5:10: error: 'i' was not declared in this scope
  cout<<a[i]<<endl;
          ^
/in/foo.cc:5:14: error: 'endl' was not declared in this scope
  cout<<a[i]<<endl;
              ^~~~
/in/foo.cc: In function 'void output(int*)':
/in/foo.cc:10:2: error: 'cout' was not declared in this scope
  cout<<a[i]<<endl;
  ^~~~
/in/foo.cc:10:10: error: 'i' was not declared in this scope
  cout<<a[i]<<endl;
          ^
/in/foo.cc:10:14: error: 'endl' was not declared in this scope
  cout<<a[i]<<endl;
              ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
自测
语言
C++
递交时间
2019-09-20 14:10:09
评测时间
2019-09-20 14:10:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes