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 16, 2026 15:00SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,814Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 15:004,78524,901,00915,313,00002,113,536
2May 16, 2026 15:004,79125,616,64015,334,00002,113,536
3May 16, 2026 15:004,80025,157,78414,353,0001,009,0002,113,536
4May 16, 2026 15:004,81326,019,46514,391,0001,011,0002,113,536
5May 16, 2026 15:004,81424,208,97714,379,0001,028,0002,113,536
6May 16, 2026 15:004,81427,085,32515,407,00002,113,536
7May 16, 2026 15:004,81528,010,47915,409,00002,113,536
8May 16, 2026 15:004,82124,151,00214,395,0001,035,0002,113,536
9May 16, 2026 15:004,84226,371,65514,489,0001,006,0002,113,536