Skip to content
← Back to Community
4.7. For: Number of zeros
Profile icon
pole55

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.

Voters
Profile icon
109b13273
Profile icon
USPRStudentRuiz
Profile icon
MariaMendoza
Profile icon
tomsfy
Profile icon
jxdecleo
Profile icon
pole55