Count Above Average
Easy · rating 1000 · Arrays, Math
The first line has n. The second line has n integers. Print how many are strictly greater than the arithmetic mean of the list.
Constraints: 1 ≤ n ≤ 105
Related problems
- Account Balance — Easy
- Plus One — Easy
- Alternating Sum — Easy
- Class Average — Easy
- Floor of Average — Easy
- Sum of Even Elements — Easy