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 listOct 5, 2026 03:39FrederickFrederickError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 18:02Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:02024,428,23615,623,00002,113,536expected "158790192 ", got "158782000 "
2Oct 5, 2026 18:02024,376,02715,587,00002,113,536expected "158791532 ", got "158783340 "
3Oct 5, 2026 18:02024,375,18715,529,00002,113,536expected "158791104 ", got "158782912 "
4Oct 5, 2026 03:404,85324,311,36215,531,00002,113,536
5Oct 5, 2026 03:404,85525,696,78415,537,00002,113,536
6Oct 5, 2026 03:404,85724,334,36215,543,00002,113,536
7Oct 5, 2026 03:404,86824,327,50015,579,00002,113,536
8Oct 5, 2026 03:404,86824,383,13615,580,00002,113,536
9Oct 5, 2026 03:404,87624,368,59115,604,00002,113,536
10Oct 5, 2026 03:404,87924,430,14515,614,00002,113,536
11Oct 5, 2026 03:404,87924,437,25015,613,00002,113,536
12Oct 5, 2026 03:404,88124,397,84615,621,00002,113,536