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 19, 2022 10:41Kenneth MaplesKenneth MaplesScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 10:415,27843,814,95913,909,0002,980,0002,387,968
2Sep 19, 2022 10:415,27946,707,15316,893,00002,379,776
3Sep 19, 2022 10:415,28248,498,89615,909,000994,0002,519,040
4Sep 19, 2022 10:415,28549,777,36415,917,000994,0002,383,872
5Sep 19, 2022 10:415,28643,940,96114,926,0001,990,0002,387,968
6Sep 19, 2022 10:415,28631,833,99714,925,0001,990,0002,387,968
7Sep 19, 2022 10:415,28748,930,67715,922,000995,0002,519,040
8Sep 19, 2022 10:415,29442,702,69214,949,0001,993,0002,396,160
9Sep 19, 2022 10:415,29542,901,47113,955,0002,990,0002,519,040
10Sep 19, 2022 10:415,29734,172,11515,953,000997,0002,383,872
11Sep 19, 2022 10:415,29847,312,03515,955,000997,0002,392,064
12Sep 19, 2022 10:415,29843,176,60114,960,0001,994,0002,387,968
13Sep 19, 2022 10:415,29847,050,03715,955,000997,0002,392,064
14Sep 19, 2022 10:415,30043,632,77115,963,000997,0002,519,040
15Sep 19, 2022 10:415,31247,011,18513,998,0002,999,0002,392,064
16Sep 19, 2022 10:415,31546,427,56015,007,0002,001,0002,396,160
17Sep 19, 2022 10:415,31542,459,74316,008,0001,000,0002,519,040
18Sep 19, 2022 10:415,31632,283,92516,010,0001,000,0002,392,064
19Sep 19, 2022 10:415,31943,101,26716,021,0001,001,0002,269,184
20Sep 19, 2022 10:415,32242,661,48515,027,0002,003,0002,519,040
21Sep 19, 2022 10:415,32344,953,95414,029,0003,006,0002,392,064
22Sep 19, 2022 10:415,32741,309,08216,045,0001,002,0002,260,992
23Sep 19, 2022 10:415,32843,697,77915,043,0002,005,0002,519,040
24Sep 19, 2022 10:415,32840,756,18115,044,0002,005,0002,396,160
25Sep 19, 2022 10:415,33946,734,74916,081,0001,005,0002,519,040
26Sep 19, 2022 10:415,34441,349,99814,084,0003,018,0002,523,136
27Sep 19, 2022 10:415,35846,384,32715,127,0002,017,0002,519,040
28Sep 19, 2022 10:415,49677,809,04217,586,58302,273,280
29Sep 19, 2022 10:415,52486,849,08817,678,28202,281,472
30Sep 19, 2022 10:415,52963,182,00317,693,98602,281,472
31Sep 19, 2022 10:415,53282,904,62517,700,96602,285,568
32Sep 19, 2022 10:415,53887,459,91517,722,06002,273,280
33Sep 19, 2022 10:415,54790,729,51017,751,00202,281,472
34Sep 19, 2022 10:415,55883,750,63517,786,83702,285,568
35Sep 19, 2022 10:415,57187,928,59217,827,40202,269,184
36Sep 19, 2022 10:415,57379,542,44417,832,58502,285,568