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:38SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,503Success
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:385,48829,060,74317,564,00002,113,536
2May 16, 2026 14:385,48926,928,40317,566,00002,113,536
3May 16, 2026 14:385,49026,550,39317,571,00002,113,536
4May 16, 2026 14:385,50126,734,16417,605,00002,113,536
5May 16, 2026 14:385,50328,241,43116,595,0001,016,0002,113,536
6May 16, 2026 14:385,51326,478,82716,602,0001,041,0002,113,536
7May 16, 2026 14:385,51529,119,70517,649,00002,113,536
8May 16, 2026 14:385,52526,263,84817,681,00002,113,536
9May 16, 2026 14:385,54128,668,75217,734,00002,113,536