#include<iostream>
using namespace std;
int main()
{
float a,b;
cin>>a;
if(a<=100000) b=a/10;
else if(a>100000 and a<=200000) b=0.075*(a-100000)+10000;
else if(a>200000 and a<=400000) b=0.05*(a-200000)+17500;
else if(a>400000 and a<=600000) b=0.03*(a-400000)+27500;
else if(a>600000 and a<=1000000) b=0.015*(a-600000)+33500;
else if(a>1000000) b=0.01*(a-1000000)+39500;
cout<<b;
return 0;
}
奖金发放问题
最新推荐文章于 2022-09-04 13:51:03 发布