#28445: c


Ivan20092009 (零二)

學校 : 臺北市私立延平高級中學
編號 : 167374
來源 : [36.236.69.236]
最後登入時間 :
2023-07-02 14:38:15
d448. 好熱好熱 -- Xatier | From: [203.72.178.1] | 發表日期 : 2021-12-10 13:48

#include<bits/stdc++.h>
using namespace std;

int main()
{
double t1,t2,t3,x1,x2,x3;
	while(cin>>t1>>t2>>t3>>x1>>x3)
	printf("%f\n",(t2*(x1-x3)+t1*x3-t3*x1)/(t1-t3));

 




}
 
ZeroJudge Forum