Compile Error

foo.cc: In function 'int main()':
foo.cc:13:15: error: 'setprecision' was not declared in this scope
   13 |  cout<<fixed<<setprecision(2)<<sun;
      |               ^~~~~~~~~~~~
foo.cc:13:32: error: 'sun' was not declared in this scope; did you mean 'sum'?
   13 |  cout<<fixed<<setprecision(2)<<sun;
      |                                ^~~
      |                                sum
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1054 数列求和
语言
C++
递交时间
2022-07-11 08:56:27
评测时间
2022-07-11 08:56:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes