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

Разделы > Поиск > задача:


50501 - The Highest Average

Гость
• Вопросы к жюри (4)

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

• 50859 - Low performance
• 50826 - Olive Containers
• 50866 - Buy the cheapest
• 51077 - Grades Histogram
• 50785 - Swimming Contest
• 50999 - Overlapping Trips
• 50507 - Sequential Numbers
• 51057 - Number of students
• 50501 - The Highest Average
• 50434 - Row Min Subtraction
• 50980 - The smallest rectangle
• 50860 - Number of Student Certificates
• 50832 - Rock Paper Scissors Lizard ...
• 50834 - The train which leaves the f...
• 51046 - The biggest number
• 50453 - The Cubic Difference
• 50451 - Processing Cost

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

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

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

The Student with the Highest Average

Question:
You will be given a name and 2 grades for three students. Find the student with the highest average.

Input specification
In every line, you will be given the name and two grades for three students. Every name contains only English letters and is not longer than 15 characters. The grades are between 0 and 100.

Output specification
Show the name and average of the student with the highest average. If there are two students with the same highest average show any of them.

 Sample Input I     Sample Output I   
 Ardit 80 63
 Arber 90 75
 Arlind 80 90
 Arlind 85


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

www.contester.ru