Why?为什么只有60分?

lhy263 2025-04-24 22:23:56 7

#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;

{{ vote && vote.total.up }}

共 1 条回复

root 站长

超过400,这个做错了,你超过400的话,那150到400之间就只有250了,你你写了个d-150