Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
50914 lixinyu 地球人口承载力估计 C++ 通过 0 MS 248 KB 187 2024-09-15 22:22:14

Tests(1/1):


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


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0