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 4, 2026 15:37C21C21Score: 15,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 15:3815,06460,391,26421,537,00026,670,0002,113,536
2Aug 4, 2026 15:3815,07558,303,79121,528,00026,714,0002,113,536
3Aug 4, 2026 15:3815,08958,383,44021,522,00026,764,0002,113,536
4Aug 4, 2026 15:3815,11659,162,38621,500,00026,874,0002,113,536
5Aug 4, 2026 15:3815,13758,443,13521,531,00026,909,0002,113,536
6Aug 4, 2026 15:3815,14758,455,04221,650,00026,822,0002,113,536
7Aug 4, 2026 15:3815,15058,462,85121,650,00026,832,0002,113,536
8Aug 4, 2026 15:3815,16558,547,83621,685,00026,845,0002,113,536
9Aug 4, 2026 15:3815,18059,248,24721,687,00026,890,0002,113,536