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 listMay 19, 2021 08:10Andrei GrazhdankovAndrei GrazhdankovScore: 10,002Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 08:109,81779,224,07731,415,16502,236,416
2May 19, 2021 08:109,83599,190,92831,472,72602,220,032
3May 19, 2021 08:109,842109,440,07531,494,80802,232,320
4May 19, 2021 08:109,94695,164,65731,826,13202,232,320
5May 19, 2021 08:1010,00297,463,97932,006,50902,232,320
6May 19, 2021 08:1010,05776,575,53532,182,63602,232,320
7May 19, 2021 08:1010,110106,338,48732,352,37902,240,512
8May 19, 2021 08:1010,123105,978,17632,394,92202,232,320
9May 19, 2021 08:1010,22371,328,44332,712,43002,236,416