LANXIANGYU0329 @ 2023-11-01 21:17:49
#include<iostream>
using namespace std;
int main(){
double a;
cin>>a;
if(a<=150 && a>0){
printf("%.1lf",a*0.4463);
}
if(a>=151 && a<=400){
printf("%.1lf",0.4663*a);
}
if(a>=401){
printf("%.1lf",0.5663*a);
}
}
by xu_zhihao @ 2023-11-01 21:22:10
请注意题目部分二字
by LANXIANGYU0329 @ 2023-11-02 19:26:22
@xuzhihao2012 谢谢,已AC。
by ikun_6668 @ 2023-11-07 16:11:27
@LANXIANGYU0329 加油哦!