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 18:02Charlie ShepherdCharlie ShepherdScore: 5,402Success
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 18:025,35239,641,05616,119,0001,007,0002,371,584
2Aug 24, 2024 18:025,35733,890,60715,126,0002,016,0002,379,776
3Aug 24, 2024 18:025,36044,396,31015,134,0002,017,0002,379,776
4Aug 24, 2024 18:025,36640,109,15215,152,0002,020,0002,371,584
5Aug 24, 2024 18:025,37340,587,93315,170,0002,022,0002,375,680
6Aug 24, 2024 18:025,37332,288,61016,184,0001,011,0002,375,680
7Aug 24, 2024 18:025,40246,193,00315,252,0002,033,0002,289,664
8Aug 24, 2024 18:025,40244,258,88915,253,0002,033,0002,289,664
9Aug 24, 2024 18:025,40235,065,94315,254,0002,033,0002,363,392
10Aug 24, 2024 18:025,59869,746,43917,914,89902,367,488
11Aug 24, 2024 18:025,626104,267,13218,004,28102,244,608
12Aug 24, 2024 18:025,645108,408,14418,063,08002,240,512