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 listJun 16, 2024 13:21джулисджулисScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 13:215,31939,278,67915,020,0002,002,0002,371,584
2Jun 15, 2024 20:355,33047,121,76716,054,0001,003,0002,371,584
3Jun 16, 2024 13:215,33340,328,42415,057,0002,007,0002,375,680
4Jun 15, 2024 20:355,33446,229,40516,065,0001,004,0002,375,680
5Jun 15, 2024 20:355,33850,515,88415,074,0002,009,0002,293,760
6Jun 16, 2024 13:215,34147,638,15515,082,0002,010,0002,293,760
7Jun 15, 2024 20:355,34335,070,40815,086,0002,011,0002,367,488
8Jun 15, 2024 20:355,34840,013,54615,101,0002,013,0002,465,792
9Jun 16, 2024 13:215,34934,484,09816,111,0001,006,0002,293,760
10Jun 16, 2024 13:215,35334,354,49117,131,00002,371,584
11Jun 15, 2024 20:355,35438,801,40415,119,0002,015,0002,293,760
12Jun 16, 2024 13:215,35837,744,19716,136,0001,008,0002,502,656
13Jun 15, 2024 20:355,36041,534,19916,144,0001,009,0002,371,584
14Jun 16, 2024 13:215,36234,181,50115,140,0002,018,0002,371,584
15Jun 16, 2024 13:215,37838,167,24416,196,0001,012,0002,482,176
16Jun 16, 2024 13:215,37832,893,91315,185,0002,024,0002,293,760
17Jun 15, 2024 20:355,38350,988,29616,211,0001,013,0002,367,488
18Jun 15, 2024 20:355,40146,969,74815,251,0002,033,0002,367,488
19Jun 15, 2024 20:355,55784,578,40317,782,53102,232,320
20Jun 16, 2024 13:215,581101,933,90617,859,51402,244,608
21Jun 15, 2024 20:355,59499,750,68117,901,29002,379,776
22Jun 16, 2024 13:215,59579,621,03017,904,80302,371,584
23Jun 16, 2024 13:215,60793,561,18417,943,22702,240,512
24Jun 15, 2024 20:355,61190,559,56217,954,07102,248,704