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 07:09vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:44Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:44021,140,41212,853,00002,113,536expected "25000000 ", got "24983616 "
2Jul 4, 2026 06:44020,735,17811,981,0001,011,0002,113,536expected "25000000 ", got "24983616 "
3Jul 4, 2026 06:44020,560,78412,836,00002,113,536expected "25000000 ", got "24983616 "
4Apr 23, 2025 07:094,09930,778,56812,109,0001,009,0002,494,464
5Apr 23, 2025 07:094,13230,976,78113,222,00002,273,280
6Apr 23, 2025 07:094,13629,222,25113,236,00002,494,464
7Apr 23, 2025 07:094,14326,217,51213,257,00002,490,368
8Apr 23, 2025 07:094,14326,232,54013,259,00002,273,280
9Apr 23, 2025 07:094,15734,755,96013,301,00002,490,368
10Apr 23, 2025 07:094,15929,914,64413,308,00002,273,280
11Apr 23, 2025 07:094,16832,906,55013,336,00002,502,656
12Apr 23, 2025 07:094,17039,683,23013,345,00002,273,280
13Apr 23, 2025 07:094,17234,400,42713,349,00002,494,464
14Apr 23, 2025 07:094,19837,445,55413,435,00002,273,280
15Apr 23, 2025 07:094,20534,696,41513,456,00002,273,280