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 listAug 4, 2024 00:34jeffplaisancejeffplaisanceScore: 4,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:344,38530,444,57613,030,0001,002,0002,498,560
2Aug 4, 2024 00:344,38736,276,64413,036,0001,002,0002,494,464
3Aug 4, 2024 00:344,39427,264,92513,057,0001,004,0002,277,376
4Aug 4, 2024 00:344,39933,997,33113,072,0001,005,0002,277,376
5Aug 4, 2024 00:344,40031,460,88013,074,0001,005,0002,498,560
6Aug 4, 2024 00:344,40431,316,23213,087,0001,006,0002,490,368
7Aug 4, 2024 00:344,41139,968,65513,106,0001,008,0002,277,376
8Aug 4, 2024 00:344,42030,119,38912,124,0002,020,0002,494,464
9Aug 4, 2024 00:344,49635,067,17114,387,00002,490,368
10Aug 4, 2024 00:344,66294,471,44514,919,02902,383,872
11Aug 4, 2024 00:344,68495,395,95214,988,43702,240,512
12Aug 4, 2024 00:344,70358,825,31515,048,97502,240,512