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 listJun 30, 2026 21:09Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:19Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:19020,760,25312,764,00002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 04:19020,553,92512,826,00002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 04:19020,613,51512,801,00002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 21:093,97020,357,67012,707,00002,113,536
5Jun 30, 2026 21:093,97920,427,03412,733,00002,113,536
6Jun 30, 2026 21:093,98620,407,20112,757,00002,113,536
7Jun 30, 2026 21:093,99220,489,83212,775,00002,113,536
8Jun 30, 2026 21:093,99520,498,57912,786,00002,113,536
9Jun 30, 2026 21:093,99920,455,50312,798,00002,113,536
10Jun 30, 2026 21:094,00520,567,92212,818,00002,113,536
11Jun 30, 2026 21:094,00720,469,20012,825,00002,113,536
12Jun 30, 2026 21:094,01220,545,57412,840,00002,113,536