Share your repls and programming experiences

← Back to all posts
4.7. For: Number of zeros
pole55 (199)

Given N numbers: the first number in the input is N, after that N integers are given. Count the number of zeros among the given integers and print it.

You need to count the number of numbers that are equal to zero, not the number of zero digits.