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 06:52vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 09:24Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 09:26020,573,61112,853,00002,113,536expected "25000000 ", got "24983616 "
2Jul 4, 2026 09:26020,507,41612,803,00002,113,536expected "25000000 ", got "24983616 "
3Jul 4, 2026 09:26020,739,00612,839,00002,113,536expected "25000000 ", got "24983616 "
4Apr 23, 2025 06:524,13139,978,98012,203,0001,016,0002,490,368
5Apr 23, 2025 06:524,13933,772,31013,246,00002,498,560
6Apr 23, 2025 06:524,14527,994,89113,264,00002,494,464
7Apr 23, 2025 06:524,15033,452,92313,281,00002,273,280
8Apr 23, 2025 06:524,15132,724,06513,282,00002,502,656
9Apr 23, 2025 06:524,15329,112,06013,288,00002,273,280
10Apr 23, 2025 06:524,16333,681,08513,320,00002,273,280
11Apr 23, 2025 06:524,16328,147,42813,320,00002,502,656
12Apr 23, 2025 06:524,16527,119,80013,327,00002,273,280
13Apr 23, 2025 06:524,16830,361,18013,339,00002,273,280
14Apr 23, 2025 06:524,17125,379,45713,348,00002,494,464
15Apr 23, 2025 06:524,17625,122,44713,362,00002,273,280
16Apr 23, 2025 06:524,19126,280,76113,412,00002,490,368
17Apr 23, 2025 06:524,19526,618,45513,424,00002,273,280
18Apr 23, 2025 06:524,20231,283,51813,446,00002,273,280