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 listMay 13, 2021 19:49alex3dalex3dScore: 4,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:484,73232,790,64214,132,0001,009,0002,519,040
2May 13, 2021 19:484,73529,428,88513,131,0002,020,0002,519,040
3May 13, 2021 19:484,73731,059,14814,149,0001,010,0002,392,064
4May 13, 2021 19:484,74342,801,57714,167,0001,011,0002,519,040
5May 13, 2021 19:484,74441,480,82512,145,0003,036,0002,387,968
6May 13, 2021 19:484,74631,169,47714,175,0001,012,0002,519,040
7May 13, 2021 19:484,74731,104,83014,178,0001,012,0002,506,752
8May 13, 2021 19:484,74931,081,93214,184,0001,013,0002,519,040
9May 13, 2021 19:484,74936,173,65214,183,0001,013,0002,392,064
10May 13, 2021 19:484,75236,491,17814,192,0001,013,0002,523,136
11May 13, 2021 19:484,75341,545,29013,183,0002,028,0002,396,160
12May 13, 2021 19:484,75532,229,01013,187,0002,028,0002,519,040
13May 13, 2021 19:484,76630,788,75713,217,0002,033,0002,260,992
14May 13, 2021 19:484,76746,618,12413,221,0002,034,0002,383,872
15May 13, 2021 19:484,77430,686,13514,259,0001,018,0002,510,848
16May 13, 2021 19:484,77633,237,19613,246,0002,037,0002,396,160
17May 13, 2021 19:484,78133,363,82615,299,00002,519,040
18May 13, 2021 19:494,78328,964,91915,305,00002,519,040
19May 13, 2021 19:484,78633,764,81313,274,0002,042,0002,519,040
20May 13, 2021 19:504,79032,823,48013,285,0002,043,0002,519,040
21May 13, 2021 19:504,79133,477,37713,286,0002,044,0002,392,064
22May 13, 2021 19:494,79230,927,67612,268,0003,067,0002,392,064
23May 13, 2021 19:504,79442,865,83514,318,0001,022,0002,519,040
24May 13, 2021 19:504,79729,865,05113,304,0002,046,0002,527,232
25May 13, 2021 19:494,80235,312,64014,343,0001,024,0002,519,040
26May 13, 2021 19:494,80231,050,92914,343,0001,024,0002,523,136
27May 13, 2021 19:504,80431,229,38115,374,00002,519,040
28May 13, 2021 19:494,80833,086,42214,361,0001,025,0002,392,064
29May 13, 2021 19:504,80836,623,47614,359,0001,025,0002,519,040
30May 13, 2021 19:494,81031,170,17612,315,0003,078,0002,265,088
31May 13, 2021 19:504,81431,610,42413,352,0002,054,0002,519,040
32May 13, 2021 19:494,81837,318,32714,390,0001,027,0002,482,176
33May 13, 2021 19:504,82032,360,79814,397,0001,028,0002,519,040
34May 13, 2021 19:494,82435,390,50914,407,0001,029,0002,519,040
35May 13, 2021 19:504,82532,969,00915,441,00002,519,040
36May 13, 2021 19:494,82734,456,75913,387,0002,059,0002,379,776
37May 13, 2021 19:484,98976,858,76415,966,09402,273,280
38May 13, 2021 19:485,02783,629,57216,084,96702,281,472
39May 13, 2021 19:485,03175,328,48216,098,43102,277,376
40May 13, 2021 19:485,03579,824,73016,111,83302,285,568
41May 13, 2021 19:485,03761,773,51416,119,37602,273,280
42May 13, 2021 19:495,07299,891,53616,229,46202,277,376
43May 13, 2021 19:505,07481,193,47116,236,43402,281,472
44May 13, 2021 19:505,08175,107,01716,257,75402,273,280
45May 13, 2021 19:505,08178,414,14116,259,28202,289,664
46May 13, 2021 19:485,08576,678,01316,273,52302,281,472
47May 13, 2021 19:495,08676,233,56416,274,20402,269,184
48May 13, 2021 19:495,10075,059,33516,319,63502,281,472