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 11, 2021 22:42Yuriy LyfenkoYuriy LyfenkoScore: 5,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:425,62645,611,30716,004,0002,000,0002,396,160
2May 11, 2021 22:425,62941,473,65815,011,0003,002,0002,260,992
3May 11, 2021 22:425,63444,189,51116,027,0002,003,0002,523,136
4May 13, 2021 22:225,63543,546,79617,031,0001,001,0002,523,136
5May 11, 2021 22:425,63845,537,59516,036,0002,004,0002,260,992
6May 11, 2021 22:425,63845,111,01317,041,0001,002,0002,523,136
7May 13, 2021 22:225,64245,053,50117,052,0001,003,0002,392,064
8May 13, 2021 22:225,64445,574,87816,055,0002,006,0002,387,968
9May 13, 2021 22:225,64548,812,08317,060,0001,003,0002,523,136
10May 13, 2021 22:225,64646,404,43617,064,0001,003,0002,387,968
11May 11, 2021 22:425,64841,225,86516,067,0002,008,0002,260,992
12May 11, 2021 22:425,64846,893,20415,060,0003,012,0002,523,136
13May 13, 2021 22:225,64944,650,49217,072,0001,004,0002,523,136
14May 11, 2021 22:425,65435,497,92317,089,0001,005,0002,260,992
15May 11, 2021 22:425,65747,692,50116,091,0002,011,0002,387,968
16May 11, 2021 22:425,65741,427,27116,091,0002,011,0002,523,136
17May 11, 2021 22:425,65842,307,02816,095,0002,011,0002,510,848
18May 11, 2021 22:425,65943,616,63216,098,0002,012,0002,387,968
19May 11, 2021 22:425,66046,354,89516,099,0002,012,0002,260,992
20May 11, 2021 22:425,66547,630,10916,115,0002,014,0002,396,160
21May 11, 2021 22:425,66946,398,97115,118,0003,023,0002,265,088
22May 13, 2021 22:225,68045,107,35116,157,0002,019,0002,392,064
23May 11, 2021 22:425,68151,756,99217,169,0001,009,0002,396,160
24May 11, 2021 22:425,68250,948,71916,163,0002,020,0002,392,064
25May 13, 2021 22:225,68445,362,46916,169,0002,021,0002,260,992
26May 11, 2021 22:425,68944,655,16517,195,0001,011,0002,523,136
27May 13, 2021 22:225,69948,625,10216,210,0002,026,0002,392,064
28May 11, 2021 22:425,81884,428,94818,617,30302,277,376
29May 11, 2021 22:425,825102,425,34818,639,66002,277,376
30May 13, 2021 22:225,83990,759,03418,685,76902,273,280
31May 13, 2021 22:225,84488,079,83618,700,93802,277,376
32May 11, 2021 22:425,85297,386,56918,726,16502,273,280
33May 11, 2021 22:425,85386,541,38518,730,32402,281,472
34May 13, 2021 22:225,86370,496,72318,761,62502,269,184
35May 11, 2021 22:425,87161,218,86718,786,76402,281,472
36May 11, 2021 22:425,89598,235,16118,863,24902,277,376