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

Сборники > Фёдор Меньшиков. Тренировки > задача:


075. 50363 - Class GPA Average

Гость
• Обсуждение задачи (1)

Задачи сборника

• 005. 50297 - Divisible By Five
• 012. 50589 - Numri i vezeve te shitura
• 030. 50584 - Pagesa totale
• 050. 50450 - Last Appereance of a ...
• 060. 50362 - Pythagorean Numbers
• 060. s
• 065. 50394 - Water Bills
• 070. 50465 - How many students h...
• 075. 50363 - Class GPA Average
• 085. 50333 - Series of Squares
• 095. 50651 - Largest power of two
• 130. 50440 - Call Center
• 135. 50392 - How much space
• 140. 50655 - Plotpjesetueshmeria me 9
• 145. 50656 - Plotpjestueshmeria me 11
• 160. Cmimi Mesatar i Karburantit
• 50338 - Convert Into Decimal

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

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

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
Prepared by Ibrahim Mesecan. Сложность Бета

Class GPA Average

Write a program that is going to read letter grades of students from the course and then it will show the the Grade Point Average of the course.

Input specification
You will be given the an integer number (n) where 0 ≤ n ≤ 8000
Then, in the following n lines you will be given letter grades.

Output specification
Show GPA of the course with 2 decimal places after the floating point.

Sample Input I
  5
  DD
  BA
  AA
  AA
  FF
Sample Input II
  8
  CB
  DD
  FF
  FF
  FF
  BB
  DC
  AA
Sample Output I
  2.5
Sample Output II
  1.5


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

www.contester.ru