Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
36647 jiabokai 地球人口承载力估计 C++ Compile Error 0 MS 0 KB 184 2024-01-16 14:33:47

Tests(0/0):


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


Judgement Protocol: