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 21:26zielajzielajScore: 4,714Success
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 21:264,67131,800,31512,955,0001,993,0002,265,088
2Aug 4, 2024 21:264,67634,685,61012,968,0001,995,0002,289,664
3Aug 4, 2024 21:264,67734,817,47312,971,0001,995,0002,289,664
4Aug 4, 2024 21:264,68342,613,22112,988,0001,998,0002,289,664
5Aug 4, 2024 21:264,68435,250,77312,992,0001,998,0002,293,760
6Aug 4, 2024 21:264,68735,324,24612,999,0001,999,0002,289,664
7Aug 4, 2024 21:264,71438,551,56913,073,0002,011,0002,289,664
8Aug 4, 2024 21:264,71632,990,21714,084,0001,006,0002,265,088
9Aug 4, 2024 21:264,71732,039,50613,083,0002,012,0002,289,664
10Aug 4, 2024 21:264,95178,426,85315,843,90602,174,976
11Aug 4, 2024 21:264,954100,156,70515,851,48202,301,952
12Aug 4, 2024 21:264,99697,286,95215,987,98302,301,952