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 5, 2024 02:22Damian AndreiDamian AndreiScore: 2,515,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 02:222,514,3388,109,261,1238,045,880,74802,383,872
2Aug 5, 2024 02:222,515,7778,122,897,4238,050,485,85502,396,160
3Aug 5, 2024 02:222,652,3128,551,709,8578,487,398,05702,265,088