Sum of Even Elements
Easy · rating 900 · Arrays, Math
The first line contains n. The second line has n integers. Print the sum of the ones that are even.
Constraints: 1 ≤ n ≤ 105
Related problems
- Class Average — Easy
- Array Sum — Easy
- Plus One — Easy
- Shopping Cart Total — Easy
- Account Balance — Easy
- Missing Number — Medium