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 07:15SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,016Success
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 07:155,00326,410,32516,011,00002,113,536
2May 16, 2026 07:155,01025,706,99716,034,00002,113,536
3May 16, 2026 07:155,01126,502,08616,037,00002,113,536
4May 16, 2026 07:155,01224,767,08316,039,00002,113,536
5May 16, 2026 07:155,01627,108,51416,054,00002,113,536
6May 16, 2026 07:155,02528,102,66716,081,00002,113,536
7May 16, 2026 07:155,03524,888,02515,103,0001,011,0002,113,536
8May 16, 2026 07:155,03725,714,32615,074,0001,046,0002,113,536
9May 16, 2026 07:155,06527,757,51615,190,0001,018,0002,113,536