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 listApr 23, 2025 07:34vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 07:20Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 07:20020,826,44012,850,00002,113,536expected "25000000 ", got "24967232 "
2Jul 4, 2026 07:20020,595,01712,854,00002,113,536expected "25000000 ", got "24967232 "
3Jul 4, 2026 07:20020,772,70312,822,00002,113,536expected "25000000 ", got "24967232 "
4Apr 23, 2025 07:344,14035,783,14613,248,00002,273,280
5Apr 23, 2025 07:344,15228,838,35913,286,00002,486,272
6Apr 23, 2025 07:344,15629,771,93113,299,00002,498,560
7Apr 23, 2025 07:344,15929,409,15313,308,00002,494,464
8Apr 23, 2025 07:344,16027,741,22013,311,00002,494,464
9Apr 23, 2025 07:344,16226,251,93613,317,00002,531,328
10Apr 23, 2025 07:344,17630,289,84913,362,00002,269,184
11Apr 23, 2025 07:344,20230,409,00713,445,00002,273,280
12Apr 23, 2025 07:344,21525,555,31413,488,00002,490,368