There are N runner taking part in an infinite relay race. Each runner will run 100 metres only.
Relay Race: When one runner finishes, the other runner starts running and the process goes on.
Imagine the time is starting from 0 seconds.Judge recorded the timestamp when a runner has completed his part of race.
Judge needs to find out the slowest runner.
array
You are given with two
First Array: The names of runner
Second Array: the timestamp when runner ith has completed his part of race,
Input:
Number of runner
Array of names
Array of timestamp in seconds
Example:
4
Ram Shyam Raj Santosh
9 29 52 61
Output
Raj
Answers
Answered by
12
Answer:
defined simply
Explanation:
record the details in the excel, and use Minimum formula to find minimum of the runs by the runner/pacer. MIN formula
Similar questions