题解分享
题解分享简介
地球新生资源 - 题解
```
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int x, y, a, b;
double z;
cin >> x >> a >> y >> b;
z = (y * b - x * a) / (b - a); // 计算最多人数
cout << fixed << setprecision(2); // 保留两位小数
cout << z << endl;
return 0;
}
```
查看全文
0
0
0
0



