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 listJul 31, 2023 09:37Yaroslav SkrebetsYaroslav SkrebetsScore: 705,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2023 09:37704,3942,319,095,8952,254,061,40502,240,512
2Jul 31, 2023 09:37705,3782,324,015,5452,257,208,77202,232,320
3Jul 31, 2023 09:37705,4842,321,399,9012,257,547,60602,236,416