D - Fast Flight

Languages: C, C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
1 60 30 30 60
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
60.00
--- Showing first 30 lines (click "Copy" to get full content) ---