HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


9-5. 50961 - Order of 3 Runner

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Contest problems

• 8-P2. 50892 - Even Numbers
• 8-P3. 50893 - Print All Numbers
• 8-P4. 50894 - ASCII Codes
• 8-P5. 50895 - Hours Minutes and Se...
• 9-1. 50957 - Divisible by 3
• 9-2. 50958 - Number of Passengers ...
• 9-3. 50959 - Draw the Pattern
• 9-4. 50960 - Number of Heart Beats
• 9-5. 50961 - Order of 3 Runner
• 9-P1. 50896 - Sum of Even Numbers
• 9-P2. 50897 - Prime Number
• 9-P3. 50898 - Draw the Pattern
• 9-P5. 50900 - Put the Numbers in D...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Order of 3 Runners

Write a program that asks for the names of three runners and the time it took each of them to finish a race.
The program should display who came in first, second, and third place.

Input: In the first line, you will get 3 names. In the second line you will get finis times for each runner

Output: Name of the runners ordered according to race finish times separated by a space.

Sample Input1:

Sample Input2:

Erjon Besjon Arjon

20 10 30

Xhulia Anisa Sara

5 3 4

Sample Output1:

Sample Output2:

Besjon Erjon Arjon

Anisa Sara Xhulia

 

Для отправки решений необходимо выполнить вход.

www.contester.ru