Floor of Average
Easy · rating 900 · Arrays, Math
The first line has n. The second line has n integers. Print the floor of their arithmetic mean (integer division of the sum by n).
Constraints: 1 ≤ n ≤ 105, values non-negative
Related problems
- Alternating Sum — Easy
- Class Average — Easy
- Sum of Even Elements — Easy
- Array Sum — Easy
- Plus One — Easy
- Shopping Cart Total — Easy