Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
50961 fengxiaohang 地球人口承载力估计 C++ 通过 0 MS 240 KB 198 2024-09-16 13:57:08

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { double x,a,y,b; cin>>x>>a>>y>>b; double z=(b*y-a*x)/(b-a); cout<<fixed<<setprecision(2)<<z<<endl; return 0; }


测评信息: