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 2, 2026 18:33Maya RebholzMaya RebholzError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 18:09Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:10026,558,34715,174,0001,082,0002,113,536expected "158790168 ", got "5960216 "
2Oct 5, 2026 18:10026,551,53015,178,0001,069,0002,113,536expected "158790784 ", got "5960832 "
3Oct 5, 2026 18:10026,613,64315,218,0001,087,0002,113,536expected "158789824 ", got "6942912 "
4Jun 2, 2026 18:334,88624,635,08615,638,00002,113,536
5Jun 2, 2026 18:335,03025,080,32416,098,00002,113,536
6Jun 2, 2026 18:335,03425,146,19616,111,00002,113,536
7Jun 2, 2026 18:335,03425,140,20216,109,00002,113,536
8Jun 2, 2026 18:335,03925,113,59716,126,00002,113,536
9Jun 2, 2026 18:335,04325,137,23516,139,00002,113,536
10Jun 2, 2026 18:335,05625,144,56615,158,0001,024,0002,113,536
11Jun 2, 2026 18:335,07825,309,19415,192,0001,059,0002,113,536
12Jun 2, 2026 18:335,08625,339,14215,218,0001,059,0002,113,536