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 listJun 20, 2021 19:26Andrey TsvetkovAndrey TsvetkovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:2500000generator exited with code 1
2Jun 20, 2021 19:255,70437,638,89815,210,0003,042,0002,523,136
3Jun 20, 2021 19:265,71339,464,93315,236,0003,047,0002,326,528
4Jun 20, 2021 19:265,71334,759,46115,234,0003,046,0002,334,720
5Jun 20, 2021 19:265,71538,161,20716,257,0002,032,0002,527,232
6Jun 20, 2021 19:265,71839,697,96215,249,0003,049,0002,334,720
7Jun 20, 2021 19:265,72144,786,66716,272,0002,034,0002,334,720
8Jun 20, 2021 19:265,72634,086,11215,270,0003,054,0002,334,720
9Jun 20, 2021 19:265,72736,902,36316,289,0002,036,0002,334,720
10Jun 20, 2021 19:255,72840,346,50516,295,0002,036,0002,523,136
11Jun 20, 2021 19:265,73045,984,90316,298,0002,037,0002,334,720
12Jun 20, 2021 19:265,73337,990,18016,308,0002,038,0002,334,720
13Jun 20, 2021 19:265,73432,481,00516,311,0002,038,0002,334,720
14Jun 20, 2021 19:255,73639,210,25217,336,0001,019,0002,523,136
15Jun 20, 2021 19:255,74040,872,98816,327,0002,040,0002,334,720
16Jun 20, 2021 19:265,74339,601,07415,315,0003,063,0002,527,232
17Jun 20, 2021 19:255,74344,709,86216,335,0002,041,0002,334,720
18Jun 20, 2021 19:265,74738,254,85716,347,0002,043,0002,523,136
19Jun 20, 2021 19:255,74835,802,40416,350,0002,043,0002,531,328
20Jun 20, 2021 19:265,74931,850,92916,352,0002,044,0002,527,232
21Jun 20, 2021 19:255,75139,560,11615,337,0003,067,0002,334,720
22Jun 20, 2021 19:255,75748,022,04316,375,0002,046,0002,334,720
23Jun 20, 2021 19:265,76040,005,96616,384,0002,048,0002,334,720
24Jun 20, 2021 19:265,76344,796,69916,393,0002,049,0002,531,328
25Jun 20, 2021 19:255,76342,200,84016,393,0002,049,0002,523,136
26Jun 20, 2021 19:265,76435,615,09817,421,0001,024,0002,527,232
27Jun 20, 2021 19:265,76842,458,34717,433,0001,025,0002,334,720
28Jun 20, 2021 19:255,76957,769,02618,461,68802,236,416
29Jun 20, 2021 19:265,77378,907,45818,475,00402,236,416
30Jun 20, 2021 19:265,77775,967,72218,484,98402,240,512
31Jun 20, 2021 19:265,78544,101,18615,426,0003,085,0002,334,720
32Jun 20, 2021 19:265,79097,806,40118,526,86702,240,512
33Jun 20, 2021 19:265,82797,227,22018,646,39202,232,320
34Jun 20, 2021 19:265,83490,622,98018,668,44102,232,320
35Jun 20, 2021 19:265,83683,208,85718,674,23302,240,512
36Jun 20, 2021 19:255,91578,644,65618,928,84002,228,224
37Jun 20, 2021 19:256,00684,766,98919,219,31602,256,896