求大佬帮帮我
查看原帖
求大佬帮帮我
1409448
WXY_ShiXiaoJi楼主2024/7/30 09:05
#include<bits/stdc++.h>
using namespace std;
int main(){
    double w;
    cin>>w;
    if(w<=150){
        printf("%.1lf",w*0.4463);
    }else if(w>=151 && w<=400){
        printf("%.1lf",w*0.4663);
    }else{
        printf("%.1lf",w*0.5663);
    }
    return 0;
}
2024/7/30 09:05
加载中...