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 15, 2021 08:08alex3dalex3dScore: 10,931Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 08:0810,9298,084,661,40034,972,87202,244,608
2May 15, 2021 08:0810,9315,259,410,22634,980,07402,244,608
3May 15, 2021 08:0810,9538,644,776,64435,051,17202,240,512