提交时间:2021-07-10 18:58:54

运行 ID: 14152

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