Compile Error

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

信息

递交者
类型
递交
题目
P2311 1.3.2:计算(a+b)*c的值
比赛
初二开学分层赛
语言
C
递交时间
2021-09-01 13:59:06
评测时间
2021-09-01 13:59:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes