Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listApr 13, 2024 14:44Brian WardBrian WardScore: 9,996Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 14:449,993100,166,70131,978,68402,224,128
2Apr 13, 2024 14:449,99692,172,63731,986,11002,232,320
3Apr 13, 2024 14:4410,043100,845,36932,136,57302,256,896