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 listMar 18, 2023 12:30Zhao Wei LiewZhao Wei LiewScore: 2,567,235Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 12:302,529,8478,168,149,1408,095,510,73802,252,800
2Mar 18, 2023 12:302,567,2358,281,239,5188,215,153,07502,256,896
3Mar 18, 2023 12:302,640,1958,506,446,3218,448,622,44702,256,896