ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Unsorted > задача:


50961 - Order of 3 Runner

Задачи раздела

• 50910 - Flipping Coins
• 50950 - Biggest Number
• 50901 - Sum of Cubes-1
• 50975 - Cinema Tickets
• 50907 - Second Largest
• 50957 - Divisible by 3
• 50898 - Draw the Pattern
• 50959 - Draw the Pattern
• 50961 - Order of 3 Runner
• 50963 - Append Two Arrays
• 50893 - Print All Numbers
• 50968 - Number of Letters
• 50888 - Extracting Digits
• 50969 - Chef and Feedback
• 50962 - Find the Character
• 50974 - Area of the circle
• 50905 - Convert KPH to MPH

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

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