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 09:59Kenneth MaplesKenneth MaplesScore: 5,325Success
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 09:505,27732,159,60616,885,00002,387,968
2Sep 19, 2022 09:545,28438,028,75815,854,0001,056,0002,392,064
3Sep 19, 2022 09:545,28445,486,55014,920,0001,989,0002,519,040
4Sep 19, 2022 09:545,29132,397,59515,935,000995,0002,519,040
5Sep 19, 2022 09:545,29241,183,58713,946,0002,988,0002,379,776
6Sep 19, 2022 09:505,29342,468,27815,943,000996,0002,392,064
7Sep 19, 2022 09:595,29448,135,96315,944,000996,0002,383,872
8Sep 19, 2022 09:545,29534,162,54714,952,0001,993,0002,383,872
9Sep 19, 2022 09:505,29532,536,50015,948,000996,0002,396,160
10Sep 19, 2022 09:505,29736,724,14313,958,0002,991,0002,519,040
11Sep 19, 2022 09:505,29746,422,18415,953,000997,0002,392,064
12Sep 19, 2022 09:505,29745,697,46715,952,000997,0002,383,872
13Sep 19, 2022 09:505,30042,639,78214,965,0001,995,0002,502,656
14Sep 19, 2022 09:505,30051,555,97815,964,000997,0002,396,160
15Sep 19, 2022 09:595,30049,209,18915,963,000997,0002,519,040
16Sep 19, 2022 09:595,30436,454,68013,979,0002,995,0002,519,040
17Sep 19, 2022 09:595,30644,839,62213,984,0002,996,0002,523,136
18Sep 19, 2022 09:505,30933,825,86215,991,000999,0002,523,136
19Sep 19, 2022 09:545,31336,738,94316,002,0001,000,0002,519,040
20Sep 19, 2022 09:505,31341,528,53915,000,0002,000,0002,506,752
21Sep 19, 2022 09:505,31542,737,63814,008,0003,001,0002,387,968
22Sep 19, 2022 09:595,32133,268,19515,025,0002,003,0002,502,656
23Sep 19, 2022 09:505,32234,167,92416,028,0001,001,0002,396,160
24Sep 19, 2022 09:545,32233,151,22315,028,0002,003,0002,387,968
25Sep 19, 2022 09:505,32547,507,35116,038,0001,002,0002,387,968
26Sep 19, 2022 09:505,32539,093,49415,036,0002,004,0002,392,064
27Sep 19, 2022 09:545,33137,278,56716,055,0001,003,0002,519,040
28Sep 19, 2022 09:505,33643,832,24515,067,0002,009,0002,392,064
29Sep 19, 2022 09:505,33747,016,01516,075,0001,004,0002,519,040
30Sep 19, 2022 09:595,33940,958,54314,070,0003,015,0002,265,088
31Sep 19, 2022 09:505,34350,576,61615,087,0002,011,0002,392,064
32Sep 19, 2022 09:595,35234,523,48514,105,0003,022,0002,519,040
33Sep 19, 2022 09:545,35936,968,64615,133,0002,017,0002,519,040
34Sep 19, 2022 09:505,43144,535,40116,356,0001,022,0002,519,040
35Sep 19, 2022 09:595,44046,427,34015,361,0002,048,0002,260,992
36Sep 19, 2022 09:595,44544,352,19816,400,0001,025,0002,519,040
37Sep 19, 2022 09:505,50468,777,94817,611,50602,281,472
38Sep 19, 2022 09:505,51768,689,92617,655,59302,273,280
39Sep 19, 2022 09:595,52386,709,36317,672,36302,285,568
40Sep 19, 2022 09:595,52493,094,44817,677,73402,293,760
41Sep 19, 2022 09:545,53179,920,35717,699,58502,281,472
42Sep 19, 2022 09:505,53488,008,71817,709,46002,289,664
43Sep 19, 2022 09:545,53663,375,00217,715,72202,273,280
44Sep 19, 2022 09:505,54474,497,75417,742,37402,277,376
45Sep 19, 2022 09:505,57499,693,22917,837,28602,277,376
46Sep 19, 2022 09:595,57976,989,02717,854,35002,281,472
47Sep 19, 2022 09:545,57968,856,24117,853,04302,277,376
48Sep 19, 2022 09:505,58788,926,41517,879,29202,293,760