#include<bits/stdc++.h>
using namespace std;
int main() { int d; cin>>d; if(d<=150&&d>=0) cout<<fixed<<setprecision(1)<<d0.4463; if(d<=400&&d>150) cout<<fixed<<setprecision(1)<<1500.4463+(d-150)0.4663; if(d>400) cout<<fixed<<setprecision(1)<<1500.4463+(d-150)*0.4663+(d-400)*0.5663;
共 1 条回复
超过400,这个做错了,你超过400的话,那150到400之间就只有250了,你你写了个d-150