Compile Error

foo.cc: In function 'int main()':
foo.cc:9:7: error: 'setpresetion' was not declared in this scope
    9 | cout<<setpresetion(1)<<n*10.5<<endl;
      |       ^~~~~~~~~~~~
foo.cc:11:7: error: 'setpresetion' was not declared in this scope
   11 | cout<<setpresetion(1)<<n*10.5+n*4<<endl;
      |       ^~~~~~~~~~~~
foo.cc:13:7: error: 'error' was not declared in this scope; did you mean 'perror'?
   13 | cout<<error<<endl;
      |       ^~~~~
      |       perror
foo.cc:14:9: error: expected ';' before '}' token
   14 | return 0
      |         ^
      |         ;
   15 | }
      | ~        
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
202112初一阶段反馈赛
语言
C++
递交时间
2021-12-11 09:48:01
评测时间
2021-12-11 09:48:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes