炒!!!
查看原帖
炒!!!
1265702
u6551u6551u6211楼主2024/7/7 08:31
/*#include "bits/stdc++.h" 
using namespace std;
typedef long long ll;
const ll a1=10000010;
ll a[a1];
int main() {
	double n,sum=0;
	for(ll i=1;i<=12;i++){
		cin >> n;
		sum+=n;
		if(sum>0&&sum<=310){
			cout<<fixed<<setprecision(1)<<n*3<<endl;
		}
		if(sum>310&&sum<=520){
			cout<<fixed<<setprecision(1)<<n*3.3<<endl;
		}
		if(sum>520){
			cout<<fixed<<setprecision(1)<<n*4.2<<endl;
		}
	}
	return 0;
}
*/
2024/7/7 08:31
加载中...