sea_of_answers @ 2024-06-12 22:21:10
#include <bits/stdc++.h>
using namespace std;
int main()
{
double n;
scanf("%lf",&n);
if(n<=150)
{
printf("%.1lf",n*0.4463);
}
else if(n>=151&&n<=400)
{
printf("%.1lf",150*0.4463+(n-150)*0.4663);
}
else if(n>=401)
{
printf("%1lf",150*0.4463+250*0+(n-400)*0.5663);
}
return 0;
}
by BDFZ_lzq @ 2024-06-12 22:23:23
@lisiyuan20140503
《250*0》
求关注
by sea_of_answers @ 2024-06-12 22:27:37
@xtlzq 互关?
by BDFZ_lzq @ 2024-06-12 22:29:47
@lisiyuan20140503
OK
by sea_of_answers @ 2024-06-12 22:32:39
ok
by dyceason @ 2024-06-16 20:19:19
……
by sea_of_answers @ 2024-06-21 22:57:16
@dyceason 你..........吧,插啥嘴
by dyceason @ 2024-12-14 11:30:23
@sea_of_answers@sea_of_answers