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 listSep 8, 2022 17:06Bernard TeoBernard TeoScore: 5,496Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 17:095,45278,853,57817,447,71502,289,664
2Sep 8, 2022 17:065,46782,595,14617,493,50802,297,856
3Sep 8, 2022 17:065,46986,447,29417,500,49302,293,760
4Sep 8, 2022 17:075,47185,420,82817,506,69502,293,760
5Sep 8, 2022 17:065,49686,052,43017,586,73002,289,664
6Sep 8, 2022 17:095,49869,550,03117,593,69002,297,856
7Sep 8, 2022 17:075,50087,333,10717,600,06702,289,664
8Sep 8, 2022 17:095,50986,592,42317,628,95902,293,760
9Sep 8, 2022 17:075,520102,333,06417,663,87802,297,856