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 21:54Yuriy LyfenkoYuriy LyfenkoScore: 5,483Success
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 21:545,43136,061,43217,378,00002,260,992
2May 15, 2021 21:545,44034,236,05015,361,0002,048,0002,260,992
3May 15, 2021 21:545,44343,293,11917,417,00002,527,232
4May 15, 2021 21:545,44332,262,42716,394,0001,024,0002,400,256
5May 15, 2021 21:545,44543,480,72516,399,0001,024,0002,265,088
6May 15, 2021 21:545,44942,977,43416,411,0001,025,0002,392,064
7May 15, 2021 21:545,45039,532,85117,439,00002,260,992
8May 15, 2021 21:545,45234,280,03116,420,0001,026,0002,392,064
9May 15, 2021 21:545,45341,989,14816,425,0001,026,0002,400,256
10May 15, 2021 21:545,45442,225,79216,428,0001,026,0002,523,136
11May 15, 2021 21:545,45540,118,17916,431,0001,026,0002,523,136
12May 15, 2021 21:545,46332,021,66616,452,0001,028,0002,260,992
13May 15, 2021 21:545,46342,777,42516,452,0001,028,0002,265,088
14May 15, 2021 21:545,46840,382,59216,470,0001,029,0002,523,136
15May 15, 2021 21:545,47043,899,43716,476,0001,029,0002,260,992
16May 15, 2021 21:545,47141,186,26916,477,0001,029,0002,523,136
17May 15, 2021 21:545,47631,866,56214,432,0003,092,0002,260,992
18May 15, 2021 21:545,47838,384,76717,531,00002,523,136
19May 15, 2021 21:545,48339,658,01616,513,0001,032,0002,387,968
20May 15, 2021 21:545,48338,405,27017,546,00002,265,088
21May 15, 2021 21:545,49541,077,33617,584,00002,506,752
22May 15, 2021 21:545,51347,211,43016,606,0001,037,0002,523,136
23May 15, 2021 21:545,58542,593,76317,872,00002,396,160
24May 15, 2021 21:545,58549,140,16414,894,0002,978,0002,387,968
25May 15, 2021 21:545,58634,502,02513,904,0003,972,0002,523,136
26May 15, 2021 21:545,58948,015,90715,899,0001,987,0002,387,968
27May 15, 2021 21:545,59043,796,37114,907,0002,981,0002,486,272
28May 15, 2021 21:545,67166,649,32618,145,83102,273,280
29May 15, 2021 21:545,68973,490,67218,203,86502,281,472
30May 15, 2021 21:545,69055,044,69818,206,48502,277,376
31May 15, 2021 21:545,70161,763,21518,244,19402,277,376
32May 15, 2021 21:545,70883,587,65718,267,11202,281,472
33May 15, 2021 21:545,71273,287,71518,279,98202,281,472
34May 15, 2021 21:545,72481,906,55618,317,35802,281,472
35May 15, 2021 21:545,76982,488,85518,459,31502,273,280
36May 15, 2021 21:545,76983,564,67618,461,95202,273,280