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:30FrederickFrederickError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 18:02Andrew Epstein195.81CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:02025,058,67715,160,0001,098,0002,113,536expected "158790328 ", got "158782136 "
2Oct 5, 2026 18:02025,103,95715,274,0001,016,0002,113,536expected "158789881 ", got "158781689 "
3Oct 5, 2026 18:02025,221,40615,324,0001,060,0002,113,536expected "158790928 ", got "158782736 "
4Oct 5, 2026 03:305,08225,119,75715,181,0001,084,0002,113,536
5Oct 5, 2026 03:305,10725,165,49315,221,0001,122,0002,113,536
6Oct 5, 2026 03:305,11125,138,84815,324,0001,034,0002,113,536