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 3, 2024 02:12jeffplaisancejeffplaisanceScore: 4,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 02:124,59432,046,24714,701,00002,269,184
2Aug 3, 2024 02:124,59545,450,54013,654,0001,050,0002,269,184
3Aug 3, 2024 02:124,59640,411,51014,708,00002,404,352
4Aug 3, 2024 02:124,59741,179,94614,711,00002,269,184
5Aug 3, 2024 02:124,60332,057,34813,679,0001,052,0002,404,352
6Aug 3, 2024 02:124,60544,143,49014,737,00002,269,184
7Aug 3, 2024 02:124,64737,126,02812,887,0001,982,0002,404,352
8Aug 3, 2024 02:124,64934,521,83513,885,000991,0002,269,184
9Aug 3, 2024 02:124,64934,098,68912,893,0001,983,0002,269,184
10Aug 3, 2024 02:124,87179,710,34515,585,62002,293,760
11Aug 3, 2024 02:124,88999,686,01715,643,42402,293,760
12Aug 3, 2024 02:124,88980,430,13615,643,25902,301,952