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 24, 2025 01:43vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:08Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:08021,107,38612,826,00002,113,536expected "25000000 ", got "24967232 "
2Jul 4, 2026 06:08021,127,12312,842,00002,113,536expected "25000000 ", got "24967232 "
3Jul 4, 2026 06:08021,072,19412,816,00002,113,536expected "25000000 ", got "24967232 "
4Apr 24, 2025 01:374,12027,678,51012,171,0001,014,0002,494,464
5Apr 24, 2025 01:374,13931,254,18613,245,00002,494,464
6Apr 24, 2025 01:434,14233,946,33213,253,00002,273,280
7Apr 24, 2025 01:374,14432,179,66113,262,00002,494,464
8Apr 24, 2025 01:374,15530,734,64013,296,00002,273,280
9Apr 24, 2025 01:434,16131,561,66813,316,00002,531,328
10Apr 24, 2025 01:374,17227,771,24013,351,00002,531,328
11Apr 24, 2025 01:374,17831,675,28713,371,00002,265,088
12Apr 24, 2025 01:434,19728,990,27013,431,00002,494,464