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:14Yuriy LyfenkoYuriy LyfenkoScore: 4,928Success
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:144,874543,711,06014,558,0001,039,0002,527,232
2Sep 7, 2022 04:144,876541,601,88114,562,0001,040,0002,527,232
3Sep 7, 2022 04:144,879541,075,99815,612,00002,265,088
4Sep 7, 2022 04:144,883545,885,27914,584,0001,041,0002,269,184
5Sep 7, 2022 04:144,892540,245,06113,697,0001,956,0002,265,088
6Sep 7, 2022 04:144,928544,045,58813,798,0001,971,0002,523,136
7Sep 7, 2022 04:144,928542,167,91614,786,000985,0002,265,088
8Sep 7, 2022 04:144,929545,910,38214,788,000985,0002,523,136
9Sep 7, 2022 04:144,935542,554,17214,805,000987,0002,523,136
10Sep 7, 2022 04:145,069579,367,94916,222,29102,244,608
11Sep 7, 2022 04:145,079581,421,25716,252,83502,281,472
12Sep 7, 2022 04:145,111598,529,95616,353,68202,273,280