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 13, 2024 14:20zielajzielajScore: 393,774Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 14:20393,4331,325,149,6821,258,986,77702,203,648
2Aug 13, 2024 14:20393,7741,311,552,4781,260,075,94002,203,648
3Aug 13, 2024 14:20394,6771,325,241,4361,262,966,72102,199,552