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

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:41Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:41020,481,45212,734,00002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 04:41020,610,60212,813,00002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 04:41020,577,56812,783,00002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 21:183,98420,645,99512,750,00002,113,536
5Jun 30, 2026 21:183,98420,438,19512,751,00002,113,536
6Jun 30, 2026 21:183,98520,420,13012,752,00002,113,536
7Jun 30, 2026 21:183,99220,413,78212,776,00002,113,536
8Jun 30, 2026 21:183,99720,458,72512,793,00002,113,536
9Jun 30, 2026 21:183,99920,496,96512,797,00002,113,536
10Jun 30, 2026 21:183,99920,594,40512,799,00002,113,536
11Jun 30, 2026 21:184,00820,482,98212,828,00002,113,536
12Jun 30, 2026 21:184,01320,562,59712,844,00002,113,536