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 listJun 20, 2021 19:04Andrey TsvetkovAndrey TsvetkovScore: 5,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:045,68338,704,89717,115,0001,069,0002,514,944
2Jun 20, 2021 19:045,69339,742,86216,076,0002,143,0002,334,720
3Jun 20, 2021 19:045,69536,534,16816,081,0002,144,0002,334,720
4Jun 20, 2021 19:045,69736,791,14917,159,0001,072,0002,334,720
5Jun 20, 2021 19:045,70237,903,93417,172,0001,073,0002,326,528
6Jun 20, 2021 19:045,70341,754,60217,176,0001,073,0002,334,720
7Jun 20, 2021 19:045,70537,870,79316,109,0002,147,0002,379,776
8Jun 20, 2021 19:045,70533,368,77217,241,0001,014,0002,523,136
9Jun 20, 2021 19:045,70733,891,83617,188,0001,074,0002,334,720
10Jun 20, 2021 19:045,71041,260,71416,242,0002,030,0002,514,944
11Jun 20, 2021 19:045,71448,563,61018,286,00002,322,432
12Jun 20, 2021 19:045,71844,408,31917,221,0001,076,0002,330,624
13Jun 20, 2021 19:045,71836,141,57917,280,0001,016,0002,334,720
14Jun 20, 2021 19:045,72041,220,44816,152,0002,153,0002,514,944
15Jun 20, 2021 19:045,72440,997,33916,281,0002,035,0002,371,584
16Jun 20, 2021 19:045,73335,358,58515,287,0003,057,0002,322,432
17Jun 20, 2021 19:045,73537,180,11517,272,0001,079,0002,334,720
18Jun 20, 2021 19:045,73744,333,87216,319,0002,039,0002,334,720
19Jun 20, 2021 19:045,74342,024,63217,358,0001,021,0002,519,040
20Jun 20, 2021 19:045,74539,199,77616,342,0002,042,0002,338,816
21Jun 20, 2021 19:045,74837,860,65818,395,00002,519,040
22Jun 20, 2021 19:045,75243,902,80218,407,00002,334,720
23Jun 20, 2021 19:045,75333,607,37916,364,0002,045,0002,310,144
24Jun 20, 2021 19:045,75345,360,37516,363,0002,045,0002,514,944
25Jun 20, 2021 19:045,75640,555,26517,395,0001,023,0002,359,296
26Jun 20, 2021 19:045,76440,073,02615,370,0003,074,0002,334,720
27Jun 20, 2021 19:045,76736,476,20716,405,0002,050,0002,506,752
28Jun 20, 2021 19:045,86587,049,23418,766,58302,215,936
29Jun 20, 2021 19:045,87378,713,95318,794,39802,228,224
30Jun 20, 2021 19:045,87395,627,78918,793,48202,232,320
31Jun 20, 2021 19:045,88096,377,03518,816,08202,224,128
32Jun 20, 2021 19:045,88866,848,86918,841,94202,224,128
33Jun 20, 2021 19:045,907101,820,58618,901,46102,232,320
34Jun 20, 2021 19:045,91286,973,69618,917,96402,228,224
35Jun 20, 2021 19:045,94290,668,26219,015,53102,228,224
36Jun 20, 2021 19:045,94486,049,74819,020,11602,228,224