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 listOct 7, 2023 13:16Dmitry GruntovDmitry GruntovScore: 17,237Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 13:1617,220125,571,89555,103,99902,277,376
2Jun 21, 2023 10:2217,223125,633,10455,114,30202,277,376
3Jun 21, 2023 10:2217,228118,606,69655,128,07902,285,568
4Jun 21, 2023 10:2217,237135,103,83555,159,49202,281,472
5Oct 7, 2023 13:1617,248117,896,31955,195,19302,285,568
6Oct 7, 2023 13:1617,251124,088,40255,203,21002,289,664