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 20, 2024 11:20Matt StuchlikMatt StuchlikScore: 364,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2024 11:20363,4681,221,380,8281,163,097,81802,375,680
2Aug 20, 2024 11:19363,5351,220,111,8241,163,313,58602,240,512
3Aug 20, 2024 11:19364,2031,234,273,8551,165,448,73802,236,416
4Aug 20, 2024 11:19364,4931,228,624,6881,166,378,82502,236,416
5Aug 20, 2024 11:20364,5461,241,347,7171,166,547,91702,240,512
6Aug 20, 2024 11:20364,7551,244,285,9141,167,215,77502,232,320