提交时间:2024-02-06 16:08:05
运行 ID: 39925
#include<iostream> using namespace std; int main() { int a,b,x,y,h; float z; cin>>x>>a>>y>>b; h=a*x-b*y; z=(float)h/(a-b); printf("%.2f",z); return 0; }