Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
6349 张然正 地球人口承载力估计 C++ 通过 0 MS 248 KB 194 2023-01-22 18:10:47

Tests(1/1):


#include<iostream> #include<iomanip> using namespace std; int main() { int x,a,y,b; cin>>x>>a>>y>>b; double xin=((double)y*b-(double)x*a)/(b-a); cout<<fixed<<setprecision(2)<<xin; }


测评信息: