HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > SEM 2 - W2 > problem:


2013-01-20. 50331 - Number of Numbers over Average

SEM 2 - W2

Start: Mar.14.2023 at 12:01:33 AM
Finish: Mar.20.2023 at 08:01:33 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (4)

Contest problems

• 51194 - The difference between max...
• 51196 - The sum of two arrays
• 15-PE-6. 50870 - ZScore normalization
• 2013-01-20. 50331 - Number of ...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
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