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 4, 2021 21:46Andrey TsvetkovAndrey TsvetkovScore: 5,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:465,58546,031,41716,879,000992,0002,342,912
2Sep 4, 2021 21:465,59045,227,93016,896,000993,0002,428,928
3Sep 4, 2021 21:475,59145,287,98616,898,000994,0002,342,912
4Sep 4, 2021 21:455,59245,090,48917,895,00002,342,912
5Sep 4, 2021 21:455,59241,848,54515,907,0001,988,0002,338,816
6Sep 4, 2021 21:465,59434,811,82215,912,0001,989,0002,441,216
7Sep 4, 2021 21:455,59633,955,40316,914,000994,0002,428,928
8Sep 4, 2021 21:465,59843,262,81616,919,000995,0002,433,024
9Sep 4, 2021 21:475,60042,653,16016,926,000995,0002,342,912
10Sep 4, 2021 21:475,60346,225,46016,934,000996,0002,433,024
11Sep 4, 2021 21:465,60347,664,59616,934,000996,0002,342,912
12Sep 4, 2021 21:475,60344,798,36416,935,000996,0002,342,912
13Sep 4, 2021 21:455,60545,872,85516,939,000996,0002,428,928
14Sep 4, 2021 21:455,60643,111,51215,945,0001,993,0002,441,216
15Sep 4, 2021 21:455,60837,861,12315,953,0001,994,0002,437,120
16Sep 4, 2021 21:455,60946,738,42715,954,0001,994,0002,445,312
17Sep 4, 2021 21:465,61138,370,37316,959,000997,0002,433,024
18Sep 4, 2021 21:475,61243,287,75015,964,0001,995,0002,297,856
19Sep 4, 2021 21:465,61234,260,23516,961,000997,0002,433,024
20Sep 4, 2021 21:465,61743,015,91116,975,000998,0002,342,912
21Sep 4, 2021 21:465,62141,819,17515,988,0001,998,0002,445,312
22Sep 4, 2021 21:465,62243,054,24515,991,0001,998,0002,433,024
23Sep 4, 2021 21:455,62451,598,25516,998,000999,0002,342,912
24Sep 4, 2021 21:455,62441,623,02615,999,0001,999,0002,531,328
25Sep 4, 2021 21:475,62637,358,53417,002,0001,000,0002,338,816
26Sep 4, 2021 21:455,62735,250,22817,007,0001,000,0002,338,816
27Sep 4, 2021 21:475,62845,412,07217,008,0001,000,0002,441,216
28Sep 4, 2021 21:465,63142,579,93616,016,0002,002,0002,433,024
29Sep 4, 2021 21:465,63196,779,96118,018,02202,256,896
30Sep 4, 2021 21:455,63238,135,67817,022,0001,001,0002,301,952
31Sep 4, 2021 21:455,63337,903,83816,022,0002,002,0002,428,928
32Sep 4, 2021 21:475,63449,259,12317,029,0001,001,0002,433,024
33Sep 4, 2021 21:455,63494,235,96618,027,91802,273,280
34Sep 4, 2021 21:455,63583,066,22518,030,52002,273,280
35Sep 4, 2021 21:465,63545,524,76817,032,0001,001,0002,433,024
36Sep 4, 2021 21:455,63850,687,43217,039,0001,002,0002,441,216
37Sep 4, 2021 21:465,63978,308,89618,044,17502,269,184
38Sep 4, 2021 21:465,64043,950,46716,042,0002,005,0002,433,024
39Sep 4, 2021 21:455,64036,549,69416,043,0002,005,0002,437,120
40Sep 4, 2021 21:465,64295,076,50018,054,49802,277,376
41Sep 4, 2021 21:465,64337,771,82416,050,0002,006,0002,433,024
42Sep 4, 2021 21:455,64744,911,11615,059,0003,011,0002,342,912
43Sep 4, 2021 21:455,64735,118,37116,062,0002,007,0002,342,912
44Sep 4, 2021 21:455,65187,234,71818,082,28702,285,568
45Sep 4, 2021 21:455,65491,454,64918,093,52402,273,280
46Sep 4, 2021 21:475,65744,885,64316,090,0002,011,0002,334,720
47Sep 4, 2021 21:465,65745,728,70616,090,0002,011,0002,342,912
48Sep 4, 2021 21:465,65941,155,22517,102,0001,006,0002,428,928
49Sep 4, 2021 21:465,65945,123,31616,098,0002,012,0002,342,912
50Sep 4, 2021 21:455,66045,098,53516,101,0002,012,0002,433,024
51Sep 4, 2021 21:455,67857,016,55718,170,59202,277,376
52Sep 4, 2021 21:455,68048,602,43716,157,0002,019,0002,342,912
53Sep 4, 2021 21:465,682107,073,09618,182,34502,269,184
54Sep 4, 2021 21:465,68734,976,58116,176,0002,022,0002,437,120
55Sep 4, 2021 21:465,68989,024,74918,203,27702,260,992
56Sep 4, 2021 21:475,70181,184,02218,242,06602,281,472
57Sep 4, 2021 21:455,76186,820,31318,433,96302,269,184
58Sep 4, 2021 21:465,79180,816,67218,531,22202,273,280
59Sep 4, 2021 21:475,79678,346,46718,546,06602,273,280
60Sep 4, 2021 21:475,84283,894,75518,695,59502,277,376