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

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 05:17Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 05:17021,030,31712,103,0001,122,0002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 05:17020,990,75512,100,0001,094,0002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 05:17020,909,63712,068,0001,074,0002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 21:154,10521,075,53212,057,0001,080,0002,113,536
5Jun 30, 2026 21:154,10621,144,63312,081,0001,059,0002,113,536
6Jun 30, 2026 21:154,10920,947,94212,143,0001,007,0002,113,536
7Jun 30, 2026 21:154,11720,862,14912,071,0001,104,0002,113,536
8Jun 30, 2026 21:154,12820,925,44912,115,0001,095,0002,113,536
9Jun 30, 2026 21:154,12930,165,77912,170,0001,045,0002,113,536
10Jun 30, 2026 21:154,15821,034,24912,147,0001,160,0002,113,536
11Jun 30, 2026 21:154,21928,586,63712,449,0001,052,0002,113,536
12Jun 30, 2026 21:154,25028,282,55712,555,0001,045,0002,113,536