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 09:49SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,222Success
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 09:495,19927,143,45816,638,00002,113,536
2May 16, 2026 09:495,20726,127,33616,664,00002,113,536
3May 16, 2026 09:495,21525,934,45215,682,0001,006,0002,113,536
4May 16, 2026 09:495,21925,594,47815,692,0001,011,0002,113,536
5May 16, 2026 09:495,22225,501,74716,713,00002,113,536
6May 16, 2026 09:495,22428,360,04715,678,0001,039,0002,113,536
7May 16, 2026 09:495,23225,492,27715,726,0001,018,0002,113,536
8May 16, 2026 09:495,24427,615,68515,771,0001,011,0002,113,536
9May 16, 2026 09:495,24425,466,66015,774,0001,008,0002,113,536