Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
51350 yuboyuan 地球人口承载力估计 C++ Accepted 1 MS 252 KB 179 2024-09-20 22:17:58

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)<<((float)(y*b-x*a))/(b-a); return 0; }


Judgement Protocol: