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 18, 2023 00:16Dmitry GruntovDmitry GruntovScore: 52,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 00:1652,757226,291,252168,822,00802,228,224
2Jun 18, 2023 00:1652,778234,129,621168,888,24802,256,896
3Jun 18, 2023 00:1652,804229,881,011168,971,65502,260,992