#33420: _ans


yp11151215@yphs.tp.edu.tw (ck11400703)

學校 : 臺北市立建國高級中學
編號 : 197195
來源 : [210.71.78.242]
最後登入時間 :
2025-09-10 09:04:20

#include<bits/stdc++.h>
using namespace std;
main(){
double a,b,c,d,f;
cin.tie(0);
while(cin>>a>>b>>c>>d>>f){
cout<<fixed<<setprecision(6)<<((d-f)*(b-c))/(a-c)+f<<endl;
cout<<endl;
}
}