| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 50914 | lixinyu | 地球人口承载力估计 | C++ | Accepted | 0 MS | 248 KB | 187 | 2024-09-15 22:22:14 |
#include <bits/stdc++.h> using namespace std; int main() { int x,a,y,b; float n; cin>>x>>a>>y>>b; n=(b*y-a*x)/(b-a); cout<<fixed<<setprecision(2)<<n<<endl; return 0; }