提交时间:2023-02-03 00:30:53

运行 ID: 7274

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