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 02:55Yuriy LyfenkoYuriy LyfenkoScore: 4,608Success
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 02:554,538553,615,17012,449,0002,074,0002,396,160
2Sep 7, 2022 02:554,541541,928,98614,531,00002,523,136
3Sep 7, 2022 02:554,543540,573,41113,498,0001,038,0002,523,136
4Sep 7, 2022 02:554,545545,825,53714,544,00002,260,992
5Sep 7, 2022 02:554,552543,799,11013,527,0001,040,0002,260,992
6Sep 7, 2022 02:554,605541,313,68712,772,0001,964,0002,523,136
7Sep 7, 2022 02:554,608538,259,11813,764,000983,0002,519,040
8Sep 7, 2022 02:554,618546,680,65811,822,0002,955,0002,523,136
9Sep 7, 2022 02:554,627547,854,98612,832,0001,974,0002,523,136
10Sep 7, 2022 02:554,729580,692,29415,132,42402,269,184
11Sep 7, 2022 02:554,731572,070,13515,138,32002,281,472
12Sep 7, 2022 02:554,738580,235,28815,160,19402,277,376