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

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


50331 - Number of Numbers over Average

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

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

• 50478 - Letter Grades
• 50782 - Max of N integers
• 50552 - Kepuce te perditshme
• 50562 - Lista e studenteve
• 50570 - Numrat prim ne segmentin[...
• 50586 - Palindrome te thjeshta
• 50783 - Numri me i vogel
• Raporti Javor
• 50331 - Number of Numbers ov...
• 50465 - How many students have p...
• 50450 - Last Appereance of a Number
• 50378 - Sum of the given digits
• 50458 - Weekly Report
• 50589 - Numri i vezeve te shitura
• 50792 - Studenti me mesataren me...
• 50558 - Hangari i madh [USACO FA...

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

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

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

Number of Numbers over Average

You are given a series of numbers, show the number of numbers which are greater than the average.

Input specification
The first number is the number of numbers (n) in the series where 1 < n ≤ 100.000. Then you will be given n integer numbers where each of the is between -10.000 and 10.000.

Output specification
Just give one number which shows the number of numbers which are greater than the average of the series.

Sample Input I:
5
1 2 3 4 5

Sample Output I:
2

Sample Input II:
5
-898 -833 570 245 629

Sample Output II:
3


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

www.contester.ru