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: 5,484Success
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:405,44127,968,19417,412,00002,113,536
2May 16, 2026 14:405,44528,281,69717,427,00002,113,536
3May 16, 2026 14:405,44529,323,33217,424,00002,113,536
4May 16, 2026 14:405,47626,286,33516,479,0001,046,0002,113,536
5May 16, 2026 14:405,48429,205,88516,501,0001,049,0002,113,536
6May 16, 2026 14:405,49226,120,05016,556,0001,020,0002,113,536
7May 16, 2026 14:405,49326,348,93017,579,00002,113,536
8May 16, 2026 14:405,51928,214,27716,659,0001,004,0002,113,536
9May 16, 2026 14:405,52326,626,85116,657,0001,019,0002,113,536