Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
7205 董语涵 地球人口承载力估计 C++ 通过 0 MS 248 KB 244 2023-02-01 19:14:38

Tests(1/1):


#include<iostream> #include<iomanip> using namespace std; int main(){ int x, a, y, b; //n=new generated resource double n; cin >> x >> a >> y >> b; n = ((b*y-a*x)/(b-a))*1.0; cout << fixed << setprecision(2) << n; return 0; }


测评信息: