Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
7274 suxing 地球人口承载力估计 C++ 通过 0 MS 244 KB 160 2023-02-03 00:30:53

Tests(1/1):


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


测评信息: