```cpp
else{
s+=(400-150)*0.4663;
s+=(n-400)*0.566;//?这里不是0.5663吗?
cout<<fixed<<setprecision(1)<<s;
return 0;
}
```
by Raymondzll @ 2021-07-29 08:30:05
建议使用
```cpp
printf("%.1lf",s);
```
by Raymondzll @ 2021-07-29 08:33:09
@[谦上谦](/user/311235)
by Raymondzll @ 2021-07-29 08:38:10
@[Raymondzll](/user/225192)
我对了,谢谢大神指导
by 谦上谦 @ 2021-07-29 08:42:08