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 10:14SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,828Success
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 10:144,77623,864,10315,284,00002,113,536
2May 16, 2026 10:144,78824,301,62115,322,00002,113,536
3May 16, 2026 10:144,80726,599,07414,375,0001,008,0002,113,536
4May 16, 2026 10:144,81424,016,36714,400,0001,007,0002,113,536
5May 16, 2026 10:144,82826,964,24414,440,0001,011,0002,113,536
6May 16, 2026 10:144,83224,180,61014,437,0001,028,0002,113,536
7May 16, 2026 10:144,83728,257,23014,442,0001,039,0002,113,536
8May 16, 2026 10:144,84026,040,06914,445,0001,043,0002,113,536
9May 16, 2026 10:144,84524,295,10314,488,0001,017,0002,113,536