Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
36688 | yuzhengxun | 地球人口承载力估计 | C++ | 通过 | 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; }