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 listSep 7, 2022 04:44Yuriy LyfenkoYuriy LyfenkoScore: 4,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:444,373540,774,30812,995,000999,0002,523,136
2Sep 7, 2022 04:444,398537,459,97912,065,0002,010,0002,260,992
3Sep 7, 2022 04:444,425542,055,61412,138,0002,023,0002,523,136
4Sep 7, 2022 04:444,428544,912,70612,146,0002,024,0002,265,088
5Sep 7, 2022 04:444,440543,353,90813,194,0001,014,0002,260,992
6Sep 7, 2022 04:444,448537,739,74912,199,0002,033,0002,260,992
7Sep 7, 2022 04:444,464544,235,94313,264,0001,020,0002,260,992
8Sep 7, 2022 04:444,464535,867,29013,266,0001,020,0002,265,088
9Sep 7, 2022 04:444,575545,688,52714,641,00002,523,136
10Sep 7, 2022 04:444,593575,300,83314,696,58602,244,608
11Sep 7, 2022 04:444,600592,583,72314,720,23202,240,512
12Sep 7, 2022 04:444,615572,532,72914,769,29802,273,280