2 ms·
edit: not a great example as values[1] >0 would be better. Only if that's an array of unsigned ints, as otherwise the code would count only positive nonzeros.
by userbinator 7y ago
edit: not a great example as values[1] >0 would be better.
Only if that's an array of unsigned ints, as otherwise the code would count only positive nonzeros.