Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:2: error: 'cin' was not declared in this scope
  cin>>x;
  ^~~
/in/foo.cc:8:3: error: 'cout' was not declared in this scope
   cout<<" ";
   ^~~~
/in/foo.cc:12:3: error: 'cout' was not declared in this scope
   cout<<"odd ";
   ^~~~

信息

递交者
类型
递交
题目
P1011 判断奇数
语言
C++
递交时间
2021-11-19 19:23:17
评测时间
2021-11-19 19:23:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes