#251. arrayCount9
arrayCount9
Background
Description
Given an array of ints, return the number of 9's in the array.
Format
Input
Output
Samples
[1 2 9]
1
[1 9 9]
2
[1 9 9 3 9]
3
Limitation
1s, 1024KiB for each test case.
Given an array of ints, return the number of 9's in the array.
[1 2 9]
1
[1 9 9]
2
[1 9 9 3 9]
3
1s, 1024KiB for each test case.
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.