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:54Yuriy LyfenkoYuriy LyfenkoScore: 6,150Success
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:516,10840,741,40718,518,0001,028,0002,523,136
2May 11, 2021 20:536,11339,639,18817,502,0002,059,0002,519,040
3May 11, 2021 20:516,12339,889,62318,562,0001,031,0002,334,720
4May 11, 2021 20:536,12948,650,19917,549,0002,064,0002,510,848
5May 11, 2021 20:516,13034,980,37817,552,0002,064,0002,330,624
6May 11, 2021 20:536,13142,652,49717,555,0002,065,0002,330,624
7May 11, 2021 20:516,13543,470,55219,633,00002,330,624
8May 11, 2021 20:536,13987,291,48419,643,62202,211,840
9May 11, 2021 20:536,13948,681,12917,578,0002,068,0002,330,624
10May 11, 2021 20:516,14383,276,70219,657,86902,228,224
11May 11, 2021 20:516,14451,960,06618,626,0001,034,0002,334,720
12May 11, 2021 20:516,14849,628,85819,675,00002,330,624
13May 11, 2021 20:536,14847,456,30218,639,0001,035,0002,510,848
14May 11, 2021 20:516,15036,392,37517,610,0002,071,0002,519,040
15May 11, 2021 20:536,15293,269,03319,687,35002,207,744
16May 11, 2021 20:536,15749,199,16017,628,0002,073,0002,330,624
17May 11, 2021 20:536,15946,299,80517,634,0002,074,0002,519,040
18May 11, 2021 20:536,19090,501,01919,808,99202,224,128
19May 11, 2021 20:536,19646,822,11416,852,0002,974,0002,330,624
20May 11, 2021 20:516,21286,754,81019,879,83602,211,840
21May 11, 2021 20:536,21350,410,04019,880,00002,334,720
22May 11, 2021 20:516,21445,951,23516,903,0002,982,0002,322,432
23May 11, 2021 20:516,21444,382,50515,909,0003,977,0002,383,872
24May 11, 2021 20:546,22155,024,92919,908,48802,220,032
25May 11, 2021 20:516,23690,831,30719,955,07802,215,936
26May 11, 2021 20:546,255100,182,97020,014,58302,224,128
27May 11, 2021 20:546,26088,927,33920,032,82802,236,416