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 listJun 17, 2023 23:21Dmitry GruntovDmitry GruntovScore: 6,394,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 23:216,392,62520,517,810,78620,456,398,95402,256,896
2Jun 17, 2023 23:216,394,70720,532,906,65120,463,060,89402,228,224
3Jun 17, 2023 23:216,396,08120,520,686,70720,467,459,57802,228,224