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 15, 2021 23:07Yuriy LyfenkoYuriy LyfenkoScore: 5,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 23:075,64044,008,06015,041,0003,008,0002,387,968
2May 15, 2021 23:075,64431,917,32517,059,0001,003,0002,523,136
3May 15, 2021 23:075,64846,894,64117,068,0001,004,0002,400,256
4May 15, 2021 23:075,65034,703,80715,068,0003,013,0002,392,064
5May 15, 2021 23:075,65743,993,27916,092,0002,011,0002,523,136
6May 15, 2021 23:075,66243,240,55416,104,0002,013,0002,387,968
7May 15, 2021 23:075,66347,248,84415,101,0003,020,0002,523,136
8May 15, 2021 23:075,66345,577,57116,107,0002,013,0002,523,136
9May 15, 2021 23:075,66544,770,77216,113,0002,014,0002,527,232
10May 15, 2021 23:075,67240,616,09316,133,0002,016,0002,392,064
11May 15, 2021 23:075,67638,717,32016,145,0002,018,0002,523,136
12May 15, 2021 23:075,67745,808,57015,139,0003,027,0002,392,064
13May 15, 2021 23:075,67851,215,22717,160,0001,009,0002,383,872
14May 15, 2021 23:075,68043,600,48915,148,0003,029,0002,383,872
15May 15, 2021 23:075,68248,171,65415,153,0003,030,0002,269,184
16May 15, 2021 23:075,68342,250,19716,166,0002,020,0002,523,136
17May 15, 2021 23:075,68449,618,79116,169,0002,021,0002,400,256
18May 15, 2021 23:075,68544,300,09916,170,0002,021,0002,387,968
19May 15, 2021 23:075,68546,934,73615,161,0003,032,0002,392,064
20May 15, 2021 23:075,70144,983,93915,202,0003,040,0002,387,968
21May 15, 2021 23:075,70746,672,62016,233,0002,029,0002,523,136
22May 15, 2021 23:075,70840,790,91817,250,0001,014,0002,523,136
23May 15, 2021 23:075,70932,691,96518,269,00002,473,984
24May 15, 2021 23:075,71249,184,13316,247,0002,030,0002,383,872
25May 15, 2021 23:075,72341,967,26617,297,0001,017,0002,396,160
26May 15, 2021 23:075,72450,359,67017,300,0001,017,0002,379,776
27May 15, 2021 23:075,75042,463,03918,401,00002,260,992
28May 15, 2021 23:076,11990,368,41119,582,08402,269,184
29May 15, 2021 23:076,14181,266,92419,650,32902,281,472
30May 15, 2021 23:076,14683,026,48319,667,21902,281,472
31May 15, 2021 23:076,15576,698,78919,695,58402,285,568
32May 15, 2021 23:076,167103,168,19119,733,31602,273,280
33May 15, 2021 23:076,17656,163,42819,763,00102,277,376
34May 15, 2021 23:076,181100,677,76819,778,26802,277,376
35May 15, 2021 23:076,18983,524,68819,805,72302,277,376
36May 15, 2021 23:076,20086,984,44019,841,36602,277,376