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 14:40SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,020Success
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 14:405,00225,249,26916,008,00002,113,536
2May 16, 2026 14:405,00424,807,22116,013,00002,113,536
3May 16, 2026 14:405,00826,484,20814,994,0001,033,0002,113,536
4May 16, 2026 14:405,01526,705,89815,032,0001,019,0002,113,536
5May 16, 2026 14:405,02026,954,70216,066,00002,113,536
6May 16, 2026 14:405,02525,804,61115,045,0001,037,0002,113,536
7May 16, 2026 14:405,03025,585,12315,090,0001,007,0002,113,536
8May 16, 2026 14:405,03224,675,75616,103,00002,113,536
9May 16, 2026 14:405,05524,970,46515,164,0001,012,0002,113,536