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

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:12Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:12020,827,52612,831,00002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 04:12020,535,62512,782,00002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 04:12020,709,97812,810,00002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 21:193,97220,420,07212,712,00002,113,536
5Jun 30, 2026 21:193,97920,512,09712,733,00002,113,536
6Jun 30, 2026 21:193,98620,409,45712,758,00002,113,536
7Jun 30, 2026 21:193,98820,730,27012,764,00002,113,536
8Jun 30, 2026 21:193,99420,451,61612,782,00002,113,536
9Jun 30, 2026 21:193,99420,427,04712,781,00002,113,536
10Jun 30, 2026 21:193,99620,490,44412,788,00002,113,536
11Jun 30, 2026 21:194,00220,683,12012,809,00002,113,536
12Jun 30, 2026 21:194,00520,463,36012,819,00002,113,536