Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^~~
/in/foo.cc:11:3: error: 'cout' was not declared in this scope
   cout<<a[i]<<" ";
   ^~~~
/in/foo.cc:11:11: error: 'i' was not declared in this scope
   cout<<a[i]<<" ";
           ^

信息

递交者
类型
自测
语言
C++
递交时间
2021-05-26 16:39:30
评测时间
2021-05-26 16:39:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes