Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
39880 wangjiashu 地球人口承载力估计 C++ Accepted 0 MS 244 KB 188 2024-02-05 12:03:14

Tests(1/1):


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


Judgement Protocol: