Compile Error

foo.c: In function 'main':
foo.c:6:2: error: 'cout' undeclared (first use in this function)
  cout<<x+y<<endl;
  ^~~~
foo.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:13: error: 'endl' undeclared (first use in this function)
  cout<<x+y<<endl;
             ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1207 a+b
比赛
初二开学分层赛
语言
C
递交时间
2021-09-01 13:57:07
评测时间
2021-09-01 13:57:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes