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 20, 2021 10:50glebarezglebarezScore: 25,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 11:1625,424132,057,22581,356,91202,236,416
2May 14, 2021 11:1625,459132,964,63381,467,70402,240,512
3May 20, 2021 10:5025,470156,355,11781,504,70202,240,512
4May 20, 2021 10:5025,512154,570,24881,638,28002,232,320
5May 20, 2021 10:5025,544143,614,87081,742,25802,224,128
6May 20, 2021 10:5025,560153,679,09781,790,72802,224,128
7May 14, 2021 11:1625,561135,990,79681,796,11602,236,416
8May 20, 2021 10:5025,567144,567,88281,813,53102,220,032
9May 20, 2021 10:5025,673142,842,19082,155,06602,228,224