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 25, 2025 00:07vahookvahookScore: 4,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 00:074,13640,286,55511,344,0001,890,0002,273,280
2Apr 25, 2025 13:064,14329,724,61913,259,00002,273,280
3Apr 25, 2025 00:074,14431,495,29013,260,00002,273,280
4Apr 25, 2025 00:074,14931,870,90313,278,00002,273,280
5Apr 25, 2025 00:074,15036,414,45113,280,00002,498,560
6Apr 25, 2025 13:064,15129,866,78513,282,00002,498,560
7Apr 25, 2025 00:074,16333,001,11613,323,00002,502,656
8Apr 25, 2025 00:074,16330,546,86413,322,00002,502,656
9Apr 25, 2025 00:074,16425,309,42413,326,00002,531,328
10Apr 25, 2025 13:064,16523,979,13313,328,00002,273,280
11Apr 25, 2025 13:064,16534,107,50113,329,00002,482,176
12Apr 25, 2025 13:064,16726,821,13713,335,00002,494,464
13Apr 25, 2025 00:074,16829,848,87113,338,00002,273,280
14Apr 25, 2025 13:064,17730,153,32013,367,00002,273,280
15Apr 25, 2025 00:074,17841,236,22913,371,00002,494,464
16Apr 25, 2025 00:074,19025,659,38713,407,00002,273,280
17Apr 25, 2025 00:074,19926,191,10213,438,00002,490,368
18Apr 25, 2025 00:074,21232,999,61213,477,00002,490,368