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 26, 2021 20:17Yuriy LyfenkoYuriy LyfenkoScore: 5,119Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 20:175,02433,490,85715,073,0001,004,0002,265,088
2May 26, 2021 20:175,02534,828,53214,071,0002,010,0002,265,088
3May 26, 2021 20:175,03234,881,03015,096,0001,006,0002,527,232
4May 26, 2021 20:175,05134,783,71615,153,0001,010,0002,396,160
5May 26, 2021 20:175,05344,980,60915,160,0001,010,0002,506,752
6May 26, 2021 20:175,06435,532,78114,181,0002,025,0002,514,944
7May 26, 2021 20:165,09737,260,05815,292,0001,019,0002,265,088
8May 26, 2021 20:165,09931,885,50714,279,0002,039,0002,396,160
9May 26, 2021 20:175,10139,436,07315,304,0001,020,0002,265,088
10May 26, 2021 20:175,10536,377,49115,315,0001,021,0002,265,088
11May 26, 2021 20:175,10541,663,92015,316,0001,021,0002,400,256
12May 26, 2021 20:175,10534,774,33716,337,00002,265,088
13May 26, 2021 20:165,10933,144,94916,348,00002,265,088
14May 26, 2021 20:175,10938,163,50614,307,0002,043,0002,265,088
15May 26, 2021 20:165,11036,319,51416,353,00002,392,064
16May 26, 2021 20:175,11236,458,01214,314,0002,044,0002,265,088
17May 26, 2021 20:165,11344,539,48715,338,0001,022,0002,265,088
18May 26, 2021 20:175,11438,245,19316,365,00002,396,160
19May 26, 2021 20:175,11936,922,13814,333,0002,047,0002,265,088
20May 26, 2021 20:175,12441,162,62315,372,0001,024,0002,265,088
21May 26, 2021 20:165,12738,194,69315,380,0001,025,0002,502,656
22May 26, 2021 20:165,13546,344,01716,433,00002,265,088
23May 26, 2021 20:165,14144,773,02416,451,00002,400,256
24May 26, 2021 20:165,14238,738,27915,426,0001,028,0002,260,992
25May 26, 2021 20:175,14337,791,10615,431,0001,028,0002,478,080
26May 26, 2021 20:175,14536,255,39416,464,00002,506,752
27May 26, 2021 20:175,15331,839,19515,458,0001,030,0002,396,160
28May 26, 2021 20:175,27452,216,14516,876,59902,273,280
29May 26, 2021 20:175,29987,457,43616,955,62202,273,280
30May 26, 2021 20:175,30847,744,47216,985,69102,273,280
31May 26, 2021 20:165,30943,996,97116,988,71502,277,376
32May 26, 2021 20:175,31667,058,39117,010,24402,277,376
33May 26, 2021 20:165,32691,417,31717,042,44002,281,472
34May 26, 2021 20:175,32975,699,04417,052,28902,277,376
35May 26, 2021 20:175,33482,161,15517,067,88602,277,376
36May 26, 2021 20:165,38467,504,29117,230,37902,277,376