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

Разделы > Linear Data Structures: Arrays > задача:


51094 - Passing the course

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

• ECE - Question 1
• CEN - Question 1
• 51107 - Factorial
• Reflektimi i pikes
• 50972 - Division
• Question 1
• 51135 - Class Average 1
• 51136 - Class Average 2
• 51094 - Passing the course
• 51130 - Permutation of Everything
• 51069 - Last Digit of a Fibonacci Nu...
• 51073 - Campus Tours for High Sch...
• 51148 - Circles
• 51123 - Mr. Li Criteria
• 51124 - Easy Tiae words
• 51145 - Graduation Exam
• 51117 - The Most Crowded

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

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

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

Passing the Course

Question: Write a program that shows student names who have passed the course

Input specification: In the first line you will be given three integer numbers,  number of students 1<=n<=400, number of grades 1<=m<=20 and an integer minimum average (1<=avg<=100 )  to pass the course

In following n lines you will have student name and m grades for each student.

Output specification: Show all student names who have passed the course.

Sample Input I 

10 10 57
AMELIA 77 70 51 42 12 84 16 73 43 73
OLIVIA 46 87 44 63 87 10 76 84 100 94
EMILY 97 16 72 100 23 19 24 40 89 7
AVA 62 90 35 16 0 61 1 98 98 66
ISLA 36 22 83 46 2 2 77 6 41 1
JESSICA 97 78 81 87 37 11 49 70 47 90
POPPY 65 85 12 82 89 94 71 41 91 89
ISABELLA 72 95 12 7 91 64 8 11 98 55
SOPHIE 49 72 33 63 14 90 15 25 65 30
MIA 68 85 60 35 46 37 0 62 64 45

Sample Output I

OLIVIA
JESSICA
POPPY

  Sample Input I Explanation

 The average of each student is:
AMELIA 54.10
OLIVIA 69.10
EMILY 48.70
AVA 52.70
ISLA 31.60
JESSICA 64.70
POPPY 71.90
ISABELLA 51.30
SOPHIE 45.60
MIA 50.20
 
From these only three students averages are greater than or eqaul to 57:

OLIVIA 69.10
JESSICA 64.70
POPPY 71.90

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

www.contester.ru