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:36Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:56Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:56020,577,73512,840,00002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 04:56020,710,21512,792,00002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 04:56020,708,51112,765,00002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 21:373,99620,446,88212,788,00002,113,536
5Jun 30, 2026 21:373,99720,494,38212,793,00002,113,536
6Jun 30, 2026 21:373,99820,652,27612,795,00002,113,536
7Jun 30, 2026 21:374,00120,472,04312,805,00002,113,536
8Jun 30, 2026 21:374,00220,444,13312,809,00002,113,536
9Jun 30, 2026 21:374,00220,471,11212,807,00002,113,536
10Jun 30, 2026 21:374,00320,486,38312,812,00002,113,536
11Jun 30, 2026 21:374,00620,448,84512,821,00002,113,536
12Jun 30, 2026 21:374,00720,553,37512,823,00002,113,536