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 24, 2024 20:24Charlie ShepherdCharlie ShepherdScore: 5,752Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 20:245,68838,956,27417,191,0001,011,0002,375,680
2Aug 24, 2024 20:245,71741,990,52017,279,0001,016,0002,293,760
3Aug 24, 2024 20:245,73140,713,24017,320,0001,018,0002,383,872
4Aug 24, 2024 20:245,73340,143,10817,325,0001,019,0002,293,760
5Aug 24, 2024 20:245,74142,660,80917,350,0001,020,0002,367,488
6Aug 24, 2024 20:245,75141,640,08518,403,00002,379,776
7Aug 24, 2024 20:245,75241,120,32818,406,00002,293,760
8Aug 24, 2024 20:245,75945,384,42417,407,0001,023,0002,375,680
9Aug 24, 2024 20:245,76340,786,08817,416,0001,024,0002,293,760
10Aug 24, 2024 20:245,99488,629,88819,179,55902,248,704
11Aug 24, 2024 20:246,005107,285,93419,214,46102,375,680
12Aug 24, 2024 20:246,02696,096,38619,283,03102,244,608