| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 51314 | luchenhao2024 | 地球人口承载力估计 | C++ | Accepted | 0 MS | 244 KB | 212 | 2024-09-20 19:51:23 |
#include<bits/stdc++.h> using namespace std; int main() { int x,y,a,b; double z; cin>>x>>y>>a>>b; z=(y*b-x*a)/(b-a); cout<<fixed<<setprecision(2); cout<<z<<endl; return 0; }