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 14, 2021 21:10Yuriy LyfenkoYuriy LyfenkoScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:105,63745,119,16617,036,0001,002,0002,400,256
2May 14, 2021 21:105,64146,238,46116,990,0001,061,0002,523,136
3May 14, 2021 21:105,64644,235,94315,055,0003,011,0002,392,064
4May 14, 2021 21:105,64845,635,34617,071,0001,004,0002,400,256
5May 14, 2021 21:105,65147,341,49516,075,0002,009,0002,392,064
6May 14, 2021 21:105,65546,533,58217,090,0001,005,0002,396,160
7May 14, 2021 21:105,65743,216,43516,092,0002,011,0002,265,088
8May 14, 2021 21:105,65942,263,20914,086,0004,024,0002,527,232
9May 14, 2021 21:105,66044,132,10017,107,0001,006,0002,523,136
10May 14, 2021 21:105,66138,088,06116,103,0002,012,0002,383,872
11May 14, 2021 21:105,66441,276,73917,119,0001,007,0002,260,992
12May 14, 2021 21:105,67142,162,40516,132,0002,016,0002,396,160
13May 14, 2021 21:105,67243,384,29316,133,0002,016,0002,260,992
14May 14, 2021 21:105,67337,832,24015,128,0003,025,0002,400,256
15May 14, 2021 21:105,67645,790,28816,145,0002,018,0002,265,088
16May 14, 2021 21:105,67739,796,81417,157,0001,009,0002,265,088
17May 14, 2021 21:105,67938,886,47016,153,0002,019,0002,523,136
18May 14, 2021 21:105,68035,446,64215,147,0003,029,0002,387,968
19May 14, 2021 21:105,68349,595,32716,167,0002,020,0002,260,992
20May 14, 2021 21:105,68545,877,73716,170,0002,021,0002,392,064
21May 14, 2021 21:105,68844,930,75417,191,0001,011,0002,392,064
22May 14, 2021 21:105,69438,740,83417,208,0001,012,0002,523,136
23May 14, 2021 21:105,69443,819,30717,210,0001,012,0002,387,968
24May 14, 2021 21:105,69544,104,82514,175,0004,050,0002,387,968
25May 14, 2021 21:105,71050,372,22015,227,0003,045,0002,260,992
26May 14, 2021 21:105,71147,033,18616,245,0002,030,0002,400,256
27May 14, 2021 21:105,71349,976,39816,249,0002,031,0002,392,064
28May 14, 2021 21:105,85482,997,79218,732,83402,277,376
29May 14, 2021 21:105,85898,341,19218,744,64802,273,280
30May 14, 2021 21:105,87387,190,77018,794,82802,277,376
31May 14, 2021 21:105,87591,823,42918,799,99102,277,376
32May 14, 2021 21:105,88293,953,24018,821,49302,265,088
33May 14, 2021 21:105,88399,514,74118,825,56102,281,472
34May 14, 2021 21:105,91573,542,36218,928,97502,269,184
35May 14, 2021 21:105,92087,050,25318,944,53502,269,184
36May 14, 2021 21:105,93087,480,53518,977,56002,281,472