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 18:32Navneet RajNavneet RajScore: 10,883Success
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 18:3210,79444,352,2756,192,00028,351,0002,113,536
2Aug 28, 2026 18:3210,80044,306,6306,206,00028,355,0002,113,536
3Aug 28, 2026 18:3210,81344,340,8016,063,00028,541,0002,113,536
4Aug 28, 2026 18:3210,88044,624,2196,236,00028,582,0002,113,536
5Aug 28, 2026 18:3210,88344,580,6016,081,00028,746,0002,113,536
6Aug 28, 2026 18:3210,89544,661,5006,084,00028,783,0002,113,536
7Aug 28, 2026 18:3210,93544,771,7416,110,00028,885,0002,113,536
8Aug 28, 2026 18:3210,93946,301,8456,102,00028,904,0002,113,536
9Aug 28, 2026 18:3210,96844,893,8456,090,00029,010,0002,113,536