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 listDec 23, 2024 23:58ii14ii14Score: 5,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 23:585,63146,356,29817,017,0001,001,0002,269,184
2Dec 23, 2024 23:585,65640,745,91414,078,0004,022,0002,400,256
3Dec 23, 2024 23:585,67840,270,15116,152,0002,019,0002,269,184