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 23:35vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:22Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:23020,661,32512,825,00002,113,536expected "25000000 ", got "24967232 "
2Jul 4, 2026 06:23020,668,25012,852,00002,113,536expected "25000000 ", got "24967232 "
3Jul 4, 2026 06:23020,676,59312,824,00002,113,536expected "25000000 ", got "24967232 "
4Apr 23, 2025 23:354,14928,715,69513,276,00002,494,464
5Apr 23, 2025 23:354,15732,937,92813,303,00002,502,656
6Apr 23, 2025 23:354,16534,186,68913,329,00002,273,280