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 22, 2021 17:52Andrey TsvetkovAndrey TsvetkovScore: 5,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:465,66945,166,51516,127,0002,015,0002,531,328
2May 22, 2021 17:465,67450,036,11316,141,0002,017,0002,392,064
3May 22, 2021 17:465,67438,547,34015,132,0003,026,0002,334,720
4May 22, 2021 17:525,67742,035,30915,139,0003,027,0002,334,720
5May 22, 2021 17:465,67849,096,63916,150,0002,018,0002,535,424
6May 22, 2021 17:525,68037,397,94016,158,0002,019,0002,523,136
7May 22, 2021 17:465,68333,299,57715,154,0003,030,0002,531,328
8May 22, 2021 17:525,68640,130,11816,173,0002,021,0002,527,232
9May 22, 2021 17:465,68735,068,41315,165,0003,033,0002,527,232
10May 22, 2021 17:465,69034,405,33216,186,0002,023,0002,334,720
11May 22, 2021 17:465,69040,091,05115,174,0003,034,0002,334,720
12May 22, 2021 17:525,69045,161,18116,184,0002,023,0002,334,720
13May 22, 2021 17:465,69041,289,91616,184,0002,023,0002,334,720
14May 22, 2021 17:465,69146,880,38316,187,0002,023,0002,523,136
15May 22, 2021 17:465,69340,948,99215,182,0003,036,0002,330,624
16May 22, 2021 17:525,69444,393,28316,196,0002,024,0002,334,720
17May 22, 2021 17:525,70045,710,12316,215,0002,026,0002,523,136
18May 22, 2021 17:465,70240,847,53215,206,0003,041,0002,531,328
19May 22, 2021 17:525,70331,126,81015,207,0003,041,0002,334,720
20May 22, 2021 17:465,70643,082,42816,231,0002,028,0002,527,232
21May 22, 2021 17:465,70867,448,33318,264,54302,236,416
22May 22, 2021 17:525,71450,013,10415,237,0003,047,0002,334,720
23May 22, 2021 17:525,72385,631,41618,314,03002,228,224
24May 22, 2021 17:465,72437,715,33316,283,0002,035,0002,334,720
25May 22, 2021 17:465,72542,262,61215,266,0003,053,0002,322,432
26May 22, 2021 17:465,72539,303,88715,266,0003,053,0002,326,528
27May 22, 2021 17:525,72941,746,97715,279,0003,055,0002,334,720
28May 22, 2021 17:465,73944,035,35716,326,0002,040,0002,379,776
29May 22, 2021 17:465,74139,874,08617,351,0001,020,0002,334,720
30May 22, 2021 17:465,75362,131,65318,410,08902,240,512
31May 22, 2021 17:465,75774,258,37818,423,55902,232,320
32May 22, 2021 17:465,75982,786,66618,429,37902,224,128
33May 22, 2021 17:465,78988,219,86118,523,71302,244,608
34May 22, 2021 17:465,80479,428,55118,572,53202,240,512
35May 22, 2021 17:465,80877,893,32518,587,16802,240,512
36May 22, 2021 17:465,80882,710,19418,585,04202,232,320
37May 22, 2021 17:465,81484,159,03118,603,70502,240,512
38May 22, 2021 17:465,83485,156,65218,669,50302,232,320
39May 22, 2021 17:525,84580,904,33518,703,08002,220,032
40May 22, 2021 17:525,86456,365,57318,764,98702,232,320
41May 22, 2021 17:525,87383,665,00218,792,64302,232,320
42May 22, 2021 17:465,88559,191,21618,832,92802,240,512
43May 22, 2021 17:525,92783,532,34018,966,15802,228,224
44May 22, 2021 17:465,93484,784,33718,988,01902,240,512
45May 22, 2021 17:525,93883,005,08719,002,83902,236,416