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 listSep 5, 2021 05:56Ilya AniskovetsIlya AniskovetsScore: 5,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:565,45638,708,44416,432,0001,027,0002,523,136
2Sep 5, 2021 05:565,46339,813,49217,480,00002,289,664
3Sep 5, 2021 05:565,48439,277,22616,518,0001,032,0002,289,664
4Sep 5, 2021 05:555,48538,583,91817,552,00002,281,472
5Sep 5, 2021 05:555,49143,669,67216,538,0001,033,0002,289,664
6Sep 5, 2021 05:555,49842,294,67616,559,0001,034,0002,289,664
7Sep 5, 2021 05:565,49944,894,51916,561,0001,035,0002,281,472
8Sep 5, 2021 05:565,50239,546,71416,570,0001,035,0002,269,184
9Sep 5, 2021 05:565,50443,250,94816,576,0001,036,0002,277,376
10Sep 5, 2021 05:555,50545,145,19416,579,0001,036,0002,289,664
11Sep 5, 2021 05:555,51642,431,50616,613,0001,038,0002,531,328
12Sep 5, 2021 05:555,51842,935,46317,657,00002,289,664
13Sep 5, 2021 05:565,51835,212,80416,619,0001,038,0002,273,280
14Sep 5, 2021 05:565,51944,516,42817,660,00002,379,776
15Sep 5, 2021 05:555,52445,382,08216,639,0001,039,0002,269,184
16Sep 5, 2021 05:555,52850,124,47716,649,0001,040,0002,527,232
17Sep 5, 2021 05:565,58537,813,58315,887,0001,985,0002,289,664
18Sep 5, 2021 05:555,65687,028,15718,100,50702,301,952
19Sep 5, 2021 05:555,66085,054,89218,112,26002,306,048
20Sep 5, 2021 05:555,67942,820,25216,153,0002,019,0002,355,200
21Sep 5, 2021 05:555,679122,452,33218,171,34702,174,976
22Sep 5, 2021 05:565,70690,064,97718,257,97102,297,856
23Sep 5, 2021 05:565,73887,398,60418,361,51802,289,664
24Sep 5, 2021 05:565,74963,704,31118,397,09002,179,072
25Sep 5, 2021 05:565,81447,499,25117,571,0001,033,0002,289,664
26Sep 5, 2021 05:565,81846,709,21818,617,00002,527,232
27Sep 5, 2021 05:565,82134,267,34017,594,0001,034,0002,269,184
28Sep 5, 2021 05:565,82947,170,99416,581,0002,072,0002,289,664
29Sep 5, 2021 05:565,88344,747,32116,845,0001,981,0002,289,664
30Sep 5, 2021 05:565,88746,429,39617,848,000991,0002,289,664
31Sep 5, 2021 05:565,89735,087,34916,884,0001,986,0002,367,488
32Sep 5, 2021 05:565,89945,684,76716,891,0001,987,0002,289,664
33Sep 5, 2021 05:565,90044,639,86417,888,000993,0002,277,376
34Sep 5, 2021 05:566,11673,229,37919,571,46902,297,856
35Sep 5, 2021 05:566,15497,022,05819,692,12402,301,952
36Sep 5, 2021 05:566,16591,179,45119,728,59602,281,472