@[A_little_Jerry](/user/1006980) 好好读题
by WA_sir @ 2023-06-05 19:32:05
@[WA_sir](/user/704156)
感谢大佬,蒟蒻已更正 ;)
```c
#include <bits/stdc++.h>
using namespace std;
int main()
{
double s , m ;
cin >> s;
if (s <= 150)
{
m = s * 0.4463;
}
if (s > 150)
{
if (s <= 400)
{
m = 150 * 0.4463 + ((s - 150) *0.4663);
}
}
if (s > 400)
{
m = 150 * 0.4463 + 250 * 0.4663 + ((s - 400) * 0.5663);
}
printf("%.1lf \n",m);
return 0;
}
```
by A_little_Jerry @ 2023-06-05 19:49:27
SO,对没对?
by sy2023mdy @ 2023-07-09 15:55:57
我对C语言一窍不通
by sy2023mdy @ 2023-07-09 15:56:56