为什么
查看原帖
为什么
1456209
l17765887828楼主2024/12/27 22:38
include <bits/stdc++.h>
using namespace std;
int main()
{
	int a; 
	cin>>a;
	if(0<a and a<150)
	{
		cout<<fixed<<setprecision(1)<<a*0.4463;
	}
    else if(151<a and a<400)
	{
		cout<<fixed<<setprecision(1)<<a*0.4663;
	}
	else
	{
		cout<<fixed<<setprecision(1)<<a*0.5663;
	}
	return 0;
}
2024/12/27 22:38
加载中...