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 listAug 10, 2022 16:05Bernard TeoBernard TeoScore: 5,573Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2022 16:065,53273,321,03817,701,51802,297,856
2Aug 10, 2022 16:065,54162,462,12517,730,18302,297,856
3Aug 10, 2022 16:065,56482,262,88117,804,51502,293,760
4Aug 10, 2022 16:055,57381,212,03317,833,82702,293,760
5Aug 10, 2022 16:055,57486,950,44417,838,12302,297,856
6Aug 10, 2022 16:055,58185,249,09217,859,08602,297,856