问题 C: A Path Plan
时间限制: 1 Sec 内存限制: 128 MB
提交: 55 解决: 26
[提交] [状态] [讨论版] [命题人:admin]
题目描述
WNJXYK hates Destinys so that he does not want to meet him at any time. Luckily, their classrooms and dormitories are at different places. The only chance for them to meet each other is on their way to classrooms from dormitories.
To simple this question, we can assume that the map of school is a normal rectangular 2D net. WNJXYK’s dormitory located at (0,y_1) and his classroom located at (x_1,0). Destinys’s dormitory located at (0,y_2) and his classroom is located at (x_2,0). On their