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 13, 2022 05:51Bernard TeoBernard TeoScore: 5,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2022 06:035,44864,140,32717,433,87102,293,760
2Aug 13, 2022 05:515,45969,767,98717,467,51602,265,088
3Aug 13, 2022 06:035,45963,622,10617,470,32602,293,760
4Aug 13, 2022 05:515,46465,975,82017,485,87702,293,760
5Aug 13, 2022 06:035,47384,470,11717,512,82202,293,760
6Aug 13, 2022 05:515,47689,478,96317,524,15702,289,664