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 9, 2021 15:17Andrey TsvetkovAndrey TsvetkovScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 15:175,60947,325,40616,952,000997,0002,490,368
2Jan 19, 2022 12:555,61744,485,10215,977,0001,997,0002,490,368
3Sep 9, 2021 15:175,62448,113,37915,998,0001,999,0002,490,368
4Jan 19, 2022 12:555,62639,232,78617,004,0001,000,0002,490,368
5Jan 19, 2022 12:555,62746,166,58816,005,0002,000,0002,490,368
6Sep 9, 2021 15:175,62939,353,87115,010,0003,002,0002,482,176
7Jan 19, 2022 12:555,63147,642,28016,018,0002,002,0002,494,464
8Sep 9, 2021 15:175,63142,452,85417,018,0001,001,0002,338,816
9Jan 19, 2022 12:555,63344,063,42616,024,0002,003,0002,494,464
10Sep 9, 2021 15:175,63542,032,89517,030,0001,001,0002,338,816
11Jan 19, 2022 12:555,63645,573,65216,031,0002,003,0002,490,368
12Sep 9, 2021 15:175,63749,366,63617,035,0001,002,0002,494,464
13Jan 19, 2022 12:555,64387,900,15418,058,77402,183,168
14Jan 19, 2022 12:555,64585,083,02118,063,19102,301,952
15Sep 9, 2021 15:175,66248,506,71716,106,0002,013,0002,338,816
16Jan 19, 2022 12:555,66843,649,09717,132,0001,007,0002,342,912
17Jan 19, 2022 12:555,67044,955,80314,112,0004,032,0002,486,272
18Sep 9, 2021 15:175,67441,524,51817,148,0001,008,0002,351,104
19Sep 9, 2021 15:175,68041,111,00316,157,0002,019,0002,490,368
20Jan 19, 2022 12:555,69091,062,40918,208,46202,187,264
21Jan 19, 2022 12:555,72834,329,71516,292,0002,036,0002,342,912
22Sep 9, 2021 15:175,73076,761,17718,336,93702,179,072
23Sep 9, 2021 15:175,82980,364,85818,654,06602,297,856
24Sep 9, 2021 15:175,87297,338,57718,789,26702,179,072