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 listMar 4, 2026 11:42DanielDanielScore: 10,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 11:4210,46357,192,56032,468,0001,014,0002,367,488
2Mar 4, 2026 11:4210,49359,569,73832,559,0001,017,0002,293,760
3Mar 4, 2026 11:4210,50859,852,32833,624,00002,289,664
4Mar 4, 2026 11:4210,51364,235,84032,621,0001,019,0002,359,296
5Mar 4, 2026 11:4210,52365,817,38432,653,0001,020,0002,367,488
6Mar 4, 2026 11:4210,52759,954,07732,665,0001,020,0002,293,760
7Mar 4, 2026 11:4210,52760,478,24932,666,0001,020,0002,289,664
8Mar 4, 2026 11:4210,53258,861,51532,680,0001,021,0002,293,760
9Mar 4, 2026 11:4210,55360,557,92131,784,0001,986,0002,363,392