Problem F. Line belt
时间限制 1000 ms
内存限制 32 MB
In a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's speed on AB is P and on CD is Q, he can move with the speed R on other area on the plane.
How long must he take to travel from A to D?
输入数据
输出数据
The minimum time to travel from A to D, round to two decimals.
样例输入
复制
1
0 0 0 100
100 0 100 100
2 2 1
样例输出
$ Mathjax font initiator $