Problem

Count elements > 0.

Examples

  • countPositive([1, -2, 3]) -> 2
Compile and test (Ctrl+Enter)