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 22:02Andrey TsvetkovAndrey TsvetkovScore: 5,637Success
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 22:025,59542,412,30015,914,0001,989,0002,437,120
2Sep 4, 2021 22:025,59632,675,61316,914,000994,0002,338,816
3Sep 4, 2021 22:025,60243,060,96916,931,000995,0002,342,912
4Sep 4, 2021 22:055,60343,922,61316,935,000996,0002,437,120
5Sep 4, 2021 22:025,60543,743,97016,939,000996,0002,428,928
6Sep 4, 2021 22:025,60636,250,17715,947,0001,993,0002,338,816
7Sep 4, 2021 22:025,60745,386,81316,945,000996,0002,342,912
8Sep 4, 2021 22:025,60742,992,96116,945,000996,0002,437,120
9Sep 4, 2021 22:055,60836,950,03916,948,000996,0002,433,024
10Sep 4, 2021 22:055,60936,264,99816,951,000997,0002,433,024
11Sep 4, 2021 22:055,61341,406,21815,966,0001,995,0002,334,720
12Sep 4, 2021 22:025,62443,175,98715,997,0001,999,0002,433,024
13Sep 4, 2021 22:025,62447,727,56516,997,000999,0002,338,816
14Sep 4, 2021 22:055,63147,019,64617,017,0001,001,0002,433,024
15Sep 4, 2021 22:025,63234,394,11517,020,0001,001,0002,428,928
16Sep 4, 2021 22:025,63246,660,75417,020,0001,001,0002,433,024
17Sep 4, 2021 22:025,63238,350,27417,022,0001,001,0002,437,120
18Sep 4, 2021 22:025,63438,629,67816,027,0002,003,0002,338,816
19Sep 4, 2021 22:025,63742,090,95316,035,0002,004,0002,437,120
20Sep 4, 2021 22:025,63860,265,83718,041,88802,277,376
21Sep 4, 2021 22:025,64047,346,28916,042,0002,005,0002,424,832
22Sep 4, 2021 22:055,64146,779,98316,047,0002,005,0002,433,024
23Sep 4, 2021 22:055,64242,731,95615,046,0003,009,0002,342,912
24Sep 4, 2021 22:055,64335,050,00517,055,0001,003,0002,428,928
25Sep 4, 2021 22:025,64545,586,81617,061,0001,003,0002,441,216
26Sep 4, 2021 22:025,64773,082,62318,071,66202,265,088
27Sep 4, 2021 22:055,64945,476,93916,069,0002,008,0002,441,216
28Sep 4, 2021 22:025,64961,107,12018,078,34002,269,184
29Sep 4, 2021 22:025,65144,310,90316,075,0002,009,0002,338,816
30Sep 4, 2021 22:055,65198,644,15018,082,83402,269,184
31Sep 4, 2021 22:025,67465,734,31318,156,85902,269,184
32Sep 4, 2021 22:025,67976,567,22718,172,34002,273,280
33Sep 4, 2021 22:025,68146,206,11317,169,0001,009,0002,342,912
34Sep 4, 2021 22:055,72459,409,16218,315,95302,265,088
35Sep 4, 2021 22:055,79168,602,68518,530,75502,260,992
36Sep 4, 2021 22:025,81197,477,76718,595,93802,265,088