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 listMay 15, 2026 00:30zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:05Victor Mercklé11.76CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:05020,678,68312,664,00002,113,536expected "25000000 ", got "333888 "
2Jul 4, 2026 04:05020,601,65812,623,00002,113,536expected "25000000 ", got "333888 "
3Jul 4, 2026 04:05020,861,55712,594,00002,113,536expected "25000000 ", got "333888 "
4May 15, 2026 00:303,92021,104,81512,545,00002,113,536
5May 15, 2026 00:303,93220,598,07512,583,00002,113,536
6May 15, 2026 00:303,93220,443,01712,583,00002,113,536
7May 15, 2026 00:303,93220,998,07912,583,00002,113,536
8May 15, 2026 00:303,93520,310,48512,592,00002,113,536
9May 15, 2026 00:303,93620,387,18212,597,00002,113,536
10May 15, 2026 00:303,93820,132,08812,603,00002,113,536
11May 15, 2026 00:303,93821,595,00012,602,00002,113,536
12May 15, 2026 00:303,94121,895,70512,612,00002,113,536