Compile Error

foo.cc: In function 'int main()':
foo.cc:7:2: error: 'cout' was not declared in this scope
  cout<<x+y<<endl;
  ^~~~
foo.cc:7:13: error: 'endl' was not declared in this scope
  cout<<x+y<<endl;
             ^~~~
foo.cc:7:13: note: suggested alternative: 'enum'
  cout<<x+y<<endl;
             ^~~~
             enum
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1207 a+b
语言
C++
递交时间
2021-09-01 13:37:25
评测时间
2021-09-01 13:37:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes