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:39SODIUM 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 14:394,79026,125,88515,330,00002,113,536
2May 16, 2026 14:394,79026,860,96215,331,00002,113,536
3May 16, 2026 14:394,79324,082,35615,339,00002,113,536
4May 16, 2026 14:394,80624,933,39214,335,0001,046,0002,113,536
5May 16, 2026 14:394,81426,270,17914,382,0001,023,0002,113,536
6May 16, 2026 14:394,81626,099,52015,412,00002,113,536
7May 16, 2026 14:394,81726,053,43414,374,0001,041,0002,113,536
8May 16, 2026 14:394,84124,616,51114,487,0001,007,0002,113,536
9May 16, 2026 14:394,84424,147,16114,454,0001,047,0002,113,536