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 20:54Mikhail DektyarevMikhail DektyarevScore: 5,623Success
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 20:565,58843,411,23716,888,000993,0002,387,968
2May 11, 2021 20:545,59347,772,90016,903,000994,0002,523,136
3May 11, 2021 20:545,59642,567,88315,918,0001,989,0002,383,872
4May 11, 2021 20:565,60250,885,41516,931,000995,0002,392,064
5May 11, 2021 20:555,60944,077,82114,958,0002,991,0002,519,040
6May 11, 2021 20:555,60944,996,80416,951,000997,0002,523,136
7May 11, 2021 20:565,60942,519,75415,954,0001,994,0002,519,040
8May 11, 2021 20:545,61540,240,61615,973,0001,996,0002,519,040
9May 11, 2021 20:565,61543,634,38515,971,0001,996,0002,519,040
10May 11, 2021 20:555,61635,261,61516,974,000998,0002,510,848
11May 11, 2021 20:565,61635,590,10815,974,0001,996,0002,519,040
12May 11, 2021 20:555,61743,762,88114,978,0002,995,0002,510,848
13May 11, 2021 20:565,61739,356,55415,977,0001,997,0002,383,872
14May 11, 2021 20:555,61846,860,64016,978,000998,0002,383,872
15May 11, 2021 20:545,61848,077,88115,979,0001,997,0002,396,160
16May 11, 2021 20:545,61844,093,82716,979,000998,0002,519,040
17May 11, 2021 20:555,62143,690,37915,989,0001,998,0002,392,064
18May 11, 2021 20:555,62242,756,86415,992,0001,999,0002,387,968
19May 11, 2021 20:565,62335,128,90016,994,000999,0002,523,136
20May 11, 2021 20:545,62335,858,02513,995,0003,998,0002,519,040
21May 11, 2021 20:565,62544,774,19716,001,0002,000,0002,519,040
22May 11, 2021 20:565,62943,994,80916,012,0002,001,0002,519,040
23May 11, 2021 20:555,63243,241,05517,022,0001,001,0002,519,040
24May 11, 2021 20:545,63334,059,67216,022,0002,002,0002,383,872
25May 11, 2021 20:545,63645,546,15216,031,0002,003,0002,519,040
26May 11, 2021 20:545,64844,759,33717,068,0001,004,0002,387,968
27May 11, 2021 20:555,65836,504,45416,093,0002,011,0002,260,992
28May 11, 2021 20:545,88765,621,47118,839,26802,273,280
29May 11, 2021 20:545,88888,426,33818,841,08402,289,664
30May 11, 2021 20:565,89681,723,54018,867,29102,281,472
31May 11, 2021 20:565,90195,028,45218,882,25602,277,376
32May 11, 2021 20:545,90586,318,38118,894,62202,289,664
33May 11, 2021 20:555,93089,432,86218,976,97802,277,376
34May 11, 2021 20:555,94264,230,11319,015,02502,273,280
35May 11, 2021 20:555,95381,988,69419,050,96902,281,472
36May 11, 2021 20:565,95467,724,12119,053,12102,281,472