MOZSAD - Sharmeen And Digits
Sharmeen is a little girl who loves digits very much but unfortunately she knows the only digit 0 (Zero). If you give her a number she can tell you how many 0’s are there.
Can you do it for Sharmeen?
Input
You will be given an integer n ( -10^8 <= n <= 10^8 )
Output
You have to print how many 0’s are in this integer.
Example
Input: 100604 Output: 3
hide comments
shivam_3480:
2019-07-25 21:53:24
I am getting correct output on repl.it but i dont know why i am not passing this problem here. |
Added by: | Mozahid |
Date: | 2019-05-26 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |