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 22, 2021 08:36Vladimir KuryakovVladimir KuryakovScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 08:365,70393,807,55118,250,16402,269,184
2May 22, 2021 08:365,71575,754,99618,286,42902,277,376
3May 22, 2021 08:365,71677,542,24118,290,27802,277,376
4May 22, 2021 08:365,71873,250,19018,297,24102,281,472
5May 22, 2021 08:365,72881,224,47918,328,03102,293,760
6May 22, 2021 08:365,73556,664,53818,352,12502,281,472
7May 22, 2021 08:365,73878,424,90218,362,83602,281,472
8May 22, 2021 08:365,74291,311,90818,375,74102,277,376
9May 22, 2021 08:365,76079,059,13618,431,34602,281,472
10May 22, 2021 08:365,76841,363,18915,381,0003,076,0002,519,040
11May 22, 2021 08:365,77046,045,78616,413,0002,051,0002,519,040
12May 22, 2021 08:365,77038,376,63517,440,0001,025,0002,387,968
13May 22, 2021 08:365,77543,959,25917,454,0001,026,0002,519,040
14May 22, 2021 08:365,77538,790,83414,374,0004,106,0002,387,968
15May 22, 2021 08:365,77838,650,95517,463,0001,027,0002,519,040
16May 22, 2021 08:365,78051,616,58718,495,00002,392,064
17May 22, 2021 08:365,78373,956,49918,504,86402,281,472
18May 22, 2021 08:365,78346,222,10617,478,0001,028,0002,383,872
19May 22, 2021 08:365,78586,261,58718,512,16102,281,472
20May 22, 2021 08:365,78545,882,78717,484,0001,028,0002,519,040
21May 22, 2021 08:365,78837,467,02917,493,0001,029,0002,392,064
22May 22, 2021 08:365,79046,672,35418,529,00002,519,040
23May 22, 2021 08:365,80198,588,45618,562,71002,281,472
24May 22, 2021 08:365,80341,297,78916,508,0002,063,0002,387,968
25May 22, 2021 08:365,81546,032,83816,540,0002,067,0002,375,680
26May 22, 2021 08:365,82345,602,58717,597,0001,035,0002,519,040
27May 22, 2021 08:365,82339,705,54516,564,0002,070,0002,519,040
28May 22, 2021 08:365,82447,690,77318,636,00002,519,040
29May 22, 2021 08:365,82647,234,52317,609,0001,035,0002,519,040
30May 22, 2021 08:365,92047,298,01418,945,00002,510,848