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 24, 2024 19:50zielajzielajScore: 365,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 19:50364,3431,222,629,4581,165,898,61502,232,320
2Aug 24, 2024 19:50365,0141,230,569,5601,168,045,10302,240,512
3Aug 24, 2024 19:50365,2931,234,300,2711,168,937,29702,375,680