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:10Yuriy LyfenkoYuriy LyfenkoScore: 5,134Success
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:105,033544,029,95214,091,0002,013,0002,265,088
2Sep 7, 2022 04:105,065539,242,76115,195,0001,013,0002,396,160
3Sep 7, 2022 04:105,093540,138,60114,261,0002,037,0002,523,136
4Sep 7, 2022 04:105,099542,110,91716,316,00002,265,088
5Sep 7, 2022 04:105,110540,806,76116,353,00002,265,088
6Sep 7, 2022 04:105,111543,618,77915,333,0001,022,0002,523,136
7Sep 7, 2022 04:105,134538,560,79416,428,00002,265,088
8Sep 7, 2022 04:105,136538,864,66316,435,00002,260,992
9Sep 7, 2022 04:105,141538,582,84815,423,0001,028,0002,260,992
10Sep 7, 2022 04:105,238597,648,95716,761,31602,240,512
11Sep 7, 2022 04:105,252577,267,95016,807,04902,244,608
12Sep 7, 2022 04:105,295588,386,75416,943,23902,269,184