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 16, 2021 18:35Yuriy LyfenkoYuriy LyfenkoScore: 5,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:355,418276,509,82315,412,0001,926,0002,519,040
2May 16, 2021 18:355,4192,477,735,21115,302,0002,040,0002,260,992
3May 16, 2021 18:345,4222,257,399,87916,330,0001,020,0002,519,040
4May 16, 2021 18:355,4242,727,914,09416,392,000964,0002,527,232
5May 16, 2021 18:345,4244,640,904,39015,429,0001,928,0002,519,040
6May 16, 2021 18:345,4245,006,062,87216,336,0001,021,0002,523,136
7May 16, 2021 18:345,4262,904,858,54213,505,0003,858,0002,392,064
8May 16, 2021 18:345,4293,181,122,36217,373,00002,519,040
9May 16, 2021 18:355,429738,194,35115,330,0002,043,0002,265,088
10May 16, 2021 18:345,4361,954,911,74815,349,0002,046,0002,387,968
11May 16, 2021 18:345,4372,289,196,93614,328,0003,070,0002,523,136
12May 16, 2021 18:345,4383,664,263,66315,470,0001,933,0002,519,040
13May 16, 2021 18:345,4383,173,298,08716,437,000966,0002,523,136
14May 16, 2021 18:355,4381,800,516,79117,403,00002,519,040
15May 16, 2021 18:355,4511,228,193,08915,506,0001,938,0002,519,040
16May 16, 2021 18:355,454767,532,87416,484,000969,0002,523,136
17May 16, 2021 18:355,4574,411,638,66516,491,000970,0002,523,136
18May 16, 2021 18:355,508415,691,60416,646,000979,0002,260,992
19May 16, 2021 18:345,609911,329,43617,949,48502,285,568
20May 16, 2021 18:355,6182,918,381,15417,978,39702,277,376
21May 16, 2021 18:355,6394,698,116,21918,045,60002,281,472
22May 16, 2021 18:355,6471,156,793,46018,071,70902,281,472
23May 16, 2021 18:345,6665,080,290,80918,132,60902,281,472
24May 16, 2021 18:345,6714,370,372,64418,146,05202,281,472