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:55Andrey 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:525,58946,626,13215,897,0001,987,0002,433,024
2Sep 4, 2021 21:525,59550,553,36816,910,000994,0002,342,912
3Sep 4, 2021 21:525,59543,473,28616,909,000994,0002,342,912
4Sep 4, 2021 21:555,59841,602,60915,925,0001,990,0002,342,912
5Sep 4, 2021 21:535,60231,606,11215,935,0001,991,0002,428,928
6Sep 4, 2021 21:525,60441,899,47215,940,0001,992,0002,441,216
7Sep 4, 2021 21:555,60647,170,47116,943,000996,0002,347,008
8Sep 4, 2021 21:525,60947,572,08416,953,000997,0002,342,912
9Sep 4, 2021 21:535,61249,112,11116,960,000997,0002,433,024
10Sep 4, 2021 21:535,61347,046,23016,964,000997,0002,433,024
11Sep 4, 2021 21:525,61340,921,51515,965,0001,995,0002,342,912
12Sep 4, 2021 21:535,61642,592,51715,974,0001,996,0002,342,912
13Sep 4, 2021 21:525,61836,253,90516,981,000998,0002,338,816
14Sep 4, 2021 21:525,61846,848,43816,981,000998,0002,441,216
15Sep 4, 2021 21:535,61835,888,19715,982,0001,997,0002,433,024
16Sep 4, 2021 21:535,61964,184,39117,982,32502,281,472
17Sep 4, 2021 21:525,62238,253,17016,991,000999,0002,338,816
18Sep 4, 2021 21:525,62236,996,32316,992,000999,0002,338,816
19Sep 4, 2021 21:555,62444,717,34815,997,0001,999,0002,342,912
20Sep 4, 2021 21:525,62434,052,56916,997,000999,0002,441,216
21Sep 4, 2021 21:555,62551,056,08817,000,0001,000,0002,342,912
22Sep 4, 2021 21:535,62748,252,32217,005,0001,000,0002,342,912
23Sep 4, 2021 21:525,62748,969,17316,006,0002,000,0002,437,120
24Sep 4, 2021 21:525,62833,530,91217,009,0001,000,0002,428,928
25Sep 4, 2021 21:555,63334,784,48116,023,0002,002,0002,433,024
26Sep 4, 2021 21:555,63546,052,25217,032,0001,001,0002,342,912
27Sep 4, 2021 21:535,63642,276,49716,031,0002,003,0002,437,120
28Sep 4, 2021 21:555,63874,556,19318,040,10102,273,280
29Sep 4, 2021 21:525,64131,740,79216,047,0002,005,0002,437,120
30Sep 4, 2021 21:525,644115,878,41318,061,72102,281,472
31Sep 4, 2021 21:535,64544,005,78917,062,0001,003,0002,433,024
32Sep 4, 2021 21:525,64773,592,37818,071,34902,269,184
33Sep 4, 2021 21:525,64786,739,35718,070,58002,269,184
34Sep 4, 2021 21:535,64847,383,61816,066,0002,008,0002,437,120
35Sep 4, 2021 21:555,65137,835,16716,073,0002,009,0002,437,120
36Sep 4, 2021 21:555,65448,753,33716,083,0002,010,0002,543,616
37Sep 4, 2021 21:525,66236,856,48717,113,0001,006,0002,449,408
38Sep 4, 2021 21:525,66343,183,63716,109,0002,013,0002,433,024
39Sep 4, 2021 21:555,67147,065,71816,132,0002,016,0002,424,832
40Sep 4, 2021 21:525,67243,826,16016,133,0002,016,0002,428,928
41Sep 4, 2021 21:525,67644,912,74417,155,0001,009,0002,342,912
42Sep 4, 2021 21:555,68487,279,51018,190,00102,265,088
43Sep 4, 2021 21:525,68598,870,35718,192,29702,269,184
44Sep 4, 2021 21:525,69271,192,75818,215,23302,269,184
45Sep 4, 2021 21:555,76294,063,51518,439,61002,269,184
46Sep 4, 2021 21:525,78396,359,76118,506,84802,269,184
47Sep 4, 2021 21:535,78892,325,26318,522,77602,269,184
48Sep 4, 2021 21:535,78887,583,27018,520,64502,273,280