提交时间:2024-09-24 23:16:25

运行 ID: 51710

#include<bits/stdc++.h> using namespace std; int human1,human2,time1,time2; double rise; int main(){ cin>>human1>>time1>>human2>>time2; rise=(human1*time1-human2*time2)/(time1-time2); cout<<fixed<<setprecision(2)<<rise<<endl; return 0; }