Turn the corner
Mr. West bought a new car! So he is travelling around the city.
One day he comes to a vertical corner. The street he is currently in has a width x, the street he wants to turn to has a width y. The car has a length l and a width d.
Can Mr. West go across the corner?
Input
Every line has four real numbers, x, y, l and w.
Proceed to the end of file.
Output
If he can go across the corner, print "yes". Print "no" otherwise.
Sample Input
10 6 13.5 4
10 6 14.5 4
Sample Output
yes
no
本文介绍了一个有趣的问题:一辆汽车能否成功通过不同宽度街道的垂直拐角。输入包括当前街道宽度、目标街道宽度以及汽车的长度和宽度。文章探讨了如何判断汽车是否能够顺利通过拐角。
291

被折叠的 条评论
为什么被折叠?



