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 listApr 3, 2026 23:39Jasper EdbrookeJasper EdbrookeScore: 4,758Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2026 23:394,73532,025,35713,132,0002,020,0002,293,760
2Apr 3, 2026 23:454,73630,895,72914,146,0001,010,0002,293,760
3Apr 3, 2026 23:454,73733,074,74514,147,0001,010,0002,293,760
4Apr 3, 2026 23:394,74133,683,49614,159,0001,011,0002,269,184
5Apr 3, 2026 23:454,74137,175,31413,149,0002,022,0002,269,184
6Apr 3, 2026 23:394,74339,850,99313,155,0002,023,0002,293,760
7Apr 3, 2026 23:454,74437,312,02813,156,0002,024,0002,269,184
8Apr 3, 2026 23:394,74537,233,73813,159,0002,024,0002,523,136
9Apr 3, 2026 23:454,74935,667,81613,171,0002,026,0002,293,760
10Apr 3, 2026 23:394,75839,236,12513,196,0002,030,0002,293,760
11Apr 3, 2026 23:454,76134,316,89113,205,0002,031,0002,293,760
12Apr 3, 2026 23:394,76736,162,85013,221,0002,034,0002,293,760
13Apr 3, 2026 23:394,76843,941,10113,224,0002,034,0002,269,184
14Apr 3, 2026 23:394,77232,436,32713,234,0002,036,0002,265,088
15Apr 3, 2026 23:394,78036,358,35213,256,0002,039,0002,285,568
16Apr 3, 2026 23:454,78032,218,18514,276,0001,019,0002,277,376
17Apr 3, 2026 23:454,78231,037,60914,282,0001,020,0002,293,760
18Apr 3, 2026 23:454,78833,110,47113,280,0002,043,0002,293,760