Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
36688 | yuzhengxun | 地球人口承载力估计 | C++ | Accepted | 0 MS | 252 KB | 168 | 2024-01-16 15:14:20 |
#include<iostream> #include<cstdio> using namespace std; int main() { double a,x,d,y; cin>>x>>a>>y>>d; printf("%.2f",(d*y-a*x)/(d-a)); return 0; }