Alexhaoxi @ 2024-07-11 16:24:38
555~~~ 995!
by ZMQ_Ink6556 @ 2024-07-11 16:27:47
@Alexhaoxi 码?错?
by NLYAKIOI @ 2024-07-11 16:34:31
这是我的代码 仅供参考
#include<bits/stdc++.h>
using namespace std;
int main(){
double x,n;
cin>>x;
if(x<=150){
n=x*0.4463;
}
if(x>150&&x<=400){
n=150*0.4463+(x-150)*0.4663;
}
if(x>400){
n=150*0.4463+250*0.4663+(x-400)*0.5663;
}
cout<<fixed<<setprecision(1)<<n;
return 0;
}
by NLYAKIOI @ 2024-07-11 16:46:16
别抄
看懂再写
by ikunTLE @ 2024-07-11 16:52:53
link