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:43SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,817Success
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:435,79527,492,28318,547,00002,113,536
2May 16, 2026 15:435,80130,371,14717,558,0001,007,0002,113,536
3May 16, 2026 15:435,80527,283,24317,552,0001,024,0002,113,536
4May 16, 2026 15:435,80927,990,84117,548,0001,043,0002,113,536
5May 16, 2026 15:435,81727,300,53317,578,0001,038,0002,113,536
6May 16, 2026 15:435,82327,394,45118,636,00002,113,536
7May 16, 2026 15:435,82330,340,88517,619,0001,017,0002,113,536
8May 16, 2026 15:435,86030,343,56017,709,0001,043,0002,113,536
9May 16, 2026 15:435,87030,259,53717,769,0001,018,0002,113,536