提交时间:2024-01-12 15:05:18

运行 ID: 36215

#include<iostream> using namespace std; int main() { int x,a,y,b; cin>>x>>a>>y>>b; float e,f,z; e=b*y-a*x; f=b-a; z=e/f; printf("%.2f",z); return 0; }