#include<bits/stdc++.h> using namespace std; int mian() { float n; cin>>n; if(n>=150) { cout<<0.4463n; } if(n>=151&&n<=400) { float c; c=0.4463150; cout<<c+0.4663*(n-150); } if(n>=401) { float c,l; c=0.4463150; l=0.4663349; cout<<c+l+0.5663*(n-401); }

return 0;

}

0 comments

No comments so far...