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 listMay 3, 2025 00:17zielajzielajScore: 367,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 00:17366,7811,196,856,7911,173,698,00002,498,560
2May 3, 2025 00:17367,4061,196,894,8321,173,703,0001,996,0002,265,088
3May 3, 2025 00:17367,4991,205,534,4211,174,999,000997,0002,265,088