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 listMay 24, 2021 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:375,02640,758,14914,073,0002,010,0002,265,088
2May 24, 2021 14:355,03244,966,56515,095,0001,006,0002,265,088
3May 24, 2021 14:375,03343,036,97614,093,0002,013,0002,383,872
4May 24, 2021 14:375,03740,915,45014,103,0002,014,0002,387,968
5May 24, 2021 14:355,05035,834,23614,141,0002,020,0002,265,088
6May 24, 2021 14:375,05046,885,17114,141,0002,020,0002,265,088
7May 24, 2021 14:375,05031,050,61914,140,0002,020,0002,265,088
8May 24, 2021 14:355,05141,682,82815,154,0001,010,0002,383,872
9May 24, 2021 14:355,05332,464,52015,159,0001,010,0002,265,088
10May 24, 2021 14:375,05445,386,12715,164,0001,010,0002,396,160
11May 24, 2021 14:355,05634,221,00915,169,0001,011,0002,387,968
12May 24, 2021 14:355,05846,047,82815,174,0001,011,0002,506,752
13May 24, 2021 14:375,06142,165,28215,182,0001,012,0002,383,872
14May 24, 2021 14:355,06245,955,74215,185,0001,012,0002,265,088
15May 24, 2021 14:375,06343,486,25814,175,0002,025,0002,387,968
16May 24, 2021 14:375,06345,369,68214,177,0002,025,0002,265,088
17May 24, 2021 14:355,06442,260,97515,192,0001,012,0002,265,088
18May 24, 2021 14:355,06838,433,96615,205,0001,013,0002,383,872
19May 24, 2021 14:375,25370,094,08516,809,59502,281,472
20May 24, 2021 14:375,27390,246,86816,874,33402,289,664
21May 24, 2021 14:355,28158,702,88516,900,42002,281,472
22May 24, 2021 14:375,28484,586,59816,910,18802,277,376
23May 24, 2021 14:355,28576,286,17916,910,99602,277,376
24May 24, 2021 14:355,32279,653,02817,031,92502,273,280