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 29, 2022 17:51Bernard TeoBernard TeoScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 17:515,47758,649,90017,527,01902,289,664
2Sep 7, 2022 17:375,47791,760,11517,527,45002,301,952
3Sep 7, 2022 17:375,48466,928,15417,550,15502,285,568
4Aug 29, 2022 17:515,48790,747,78817,558,98402,269,184
5Aug 29, 2022 17:515,49698,008,31017,587,37302,289,664
6Sep 7, 2022 17:375,49980,304,30717,596,62702,301,952