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 30, 2023 16:05mmalczakmmalczakScore: 5,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2023 16:055,71290,922,21918,277,75002,297,856
2Aug 30, 2023 16:055,72767,717,42918,324,85302,293,760
3Aug 30, 2023 16:055,73384,110,50518,345,47002,281,472
4Aug 30, 2023 16:055,75690,868,66418,419,99502,297,856
5Aug 30, 2023 16:055,81586,605,37118,607,62402,297,856
6Aug 30, 2023 16:055,81884,263,75518,618,30602,301,952