提交时间:2024-09-16 09:35:02
运行 ID: 50925
#include<bits/stdc++.h> using namespace std; int main() { float a,b,x,y; cin >> x >> a >> y >> b ; float z=(b*y-a*x)/(b-a); cout<<fixed << setprecision(2) <<z; return 0; }