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:59Bernard TeoBernard TeoScore: 5,507Success
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:595,48184,172,46217,537,97102,285,568
2Aug 10, 2022 17:005,49999,269,42017,597,37802,293,760
3Aug 10, 2022 17:005,50290,026,84417,605,10802,293,760
4Aug 10, 2022 16:595,50779,428,73917,623,86502,285,568
5Aug 10, 2022 16:595,52277,835,58717,668,94802,265,088
6Aug 10, 2022 17:005,52464,070,38217,677,36002,297,856