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 listJul 28, 2024 21:44gviaugviauScore: 2,705,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 21:442,703,7518,708,551,2018,652,002,99002,256,896
2Jul 28, 2024 21:442,705,4348,721,145,8248,657,388,34202,256,896
3Jul 28, 2024 21:442,824,3549,098,772,6369,037,933,30602,387,968