Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
37173 | chenyanda | 地球人口承载力估计 | C++ | Accepted | 0 MS | 252 KB | 173 | 2024-01-19 15:34:47 |
#include<iostream> using namespace std; int main() { int x,a,y,b; cin>>x>>a>>y>>b; float e,f,z; e=b*y-a*x; f=b-a; z=e/f; printf("%.2f",z); return 0; }