The Journey of King Shahzeman
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Input
The input consists of a single line containing an integer k (2 <= k <= 30000)
, representing the fraction of the journey that King Shahzeman has already completed.
Output
Produce a single number with a precision of at least 6 decimal places, indicating the factor by which the royal caravan needs to increase its speed to arrive in Baghdad on time.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 498
Acceptance rate 63%