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 listAug 28, 2026 17:19Navneet RajNavneet RajScore: 5,316Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2026 17:195,30126,774,00515,913,0001,052,0002,113,536
2Aug 28, 2026 17:195,30826,746,44415,864,0001,122,0002,113,536
3Aug 28, 2026 17:195,31126,789,19915,876,0001,120,0002,113,536
4Aug 28, 2026 17:195,31426,791,23815,956,0001,051,0002,113,536
5Aug 28, 2026 17:195,31626,782,99015,892,0001,122,0002,113,536
6Aug 28, 2026 17:195,32326,835,35015,922,0001,114,0002,113,536
7Aug 28, 2026 17:195,34126,876,59015,970,0001,122,0002,113,536
8Aug 28, 2026 17:195,34226,873,35215,963,0001,132,0002,113,536
9Aug 28, 2026 17:195,34926,893,95715,992,0001,127,0002,113,536