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

Разделы > Ad-Hoc > задача:


50366 - Student Averages (2 Grades)

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

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

• 50322 - Snake Pattern
• 50302 - Paper Scissors Rock
• 50312 - Sales Bar Chart
• 50313 - Pattern Displays
• 50375 - Area of Circles
• 50393 - Palindromic Numbers
• 50396 - Cinema Tickets - 1
• 50325 - How much time passed?
• 50366 - Student Averages (2 Gr...
• 50406 - Draw Pattern 178
• 50416 - Placing Dominoes on Chess...
• 50477 - Character Pyramids
• 50498 - K-Means
• 50505 - kht Puzzle
• 50346 - The Biggest Date
• 50512 - Coding redundancy
• 50528 - Rock-Scissors-Paper

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

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

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

Student Averages (2 Grades)

Question:
Read the name and 2 grades of n students and show the names together with the averages.

Input specification
At the beginning, you will be given a number (n), the number of students where 0 ≤ n ≤ 100. Then in the following n lines you will be given the name of a student followed by two integer numbers which are between 0 and 100.

Output specification
Show the names followed by the floating point averages.

Sample Input
6
Juliann 67 46
Lindsay 83 76
Robbyn 4 27
Samatha 26 11
Agnes 27 91
Ray 88 31
Sample Output
Juliann 56.5
Lindsay 79.5
Robbyn 15.5
Samatha 18.5
Agnes 59
Ray 59.5


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

www.contester.ru