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 listAug 26, 2022 22:00Franek KortaFranek KortaScore: 4,878Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2022 22:004,84534,825,05714,472,0001,033,0002,437,120
2Aug 26, 2022 22:004,85236,159,18514,492,0001,035,0002,531,328
3Aug 26, 2022 22:004,85430,886,47914,498,0001,035,0002,269,184
4Aug 26, 2022 22:004,85430,866,26914,498,0001,035,0002,428,928
5Aug 26, 2022 22:004,85734,054,45715,543,00002,437,120
6Aug 26, 2022 22:004,85935,946,13915,549,00002,269,184
7Aug 26, 2022 22:004,86036,818,90613,479,0002,073,0002,531,328
8Aug 26, 2022 22:004,86038,228,58213,480,0002,073,0002,433,024
9Aug 26, 2022 22:004,86635,028,16213,494,0002,076,0002,531,328
10Aug 26, 2022 22:004,87431,882,21914,557,0001,039,0002,265,088
11Aug 26, 2022 22:004,87530,324,84014,560,0001,040,0002,437,120
12Aug 26, 2022 22:004,87732,801,99712,484,0003,121,0002,433,024
13Aug 26, 2022 22:004,87841,872,39914,571,0001,040,0002,531,328
14Aug 26, 2022 22:004,87839,260,11215,608,00002,531,328
15Aug 26, 2022 22:004,88136,969,53615,618,00002,441,216
16Aug 26, 2022 22:004,88837,249,44513,558,0002,085,0002,531,328
17Aug 26, 2022 22:004,89234,759,51413,567,0002,087,0002,441,216
18Aug 26, 2022 22:004,90547,636,88315,697,00002,531,328
19Aug 26, 2022 22:005,06972,812,87416,221,31902,203,648
20Aug 26, 2022 22:005,08794,229,19916,277,18402,199,552
21Aug 26, 2022 22:005,091107,540,90016,289,75002,199,552
22Aug 26, 2022 22:005,11675,556,39016,370,67402,195,456
23Aug 26, 2022 22:005,12585,455,68016,400,89502,211,840
24Aug 26, 2022 22:005,23678,413,80716,754,71302,207,744