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 24, 2021 07:10Andrey TsvetkovAndrey TsvetkovScore: 6,004Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:105,95336,478,09816,041,0003,007,0002,334,720
2May 24, 2021 07:105,96145,197,49816,064,0003,012,0002,326,528
3May 24, 2021 07:105,96236,638,73616,067,0003,012,0002,334,720
4May 24, 2021 07:105,96841,864,24317,088,0002,010,0002,531,328
5May 24, 2021 07:115,97546,579,27617,108,0002,012,0002,330,624
6May 24, 2021 07:105,97644,674,15917,111,0002,013,0002,330,624
7May 24, 2021 07:105,98045,652,55616,114,0003,021,0002,334,720
8May 24, 2021 07:115,98237,475,83216,119,0003,022,0002,531,328
9May 24, 2021 07:115,98643,177,76217,138,0002,016,0002,392,064
10May 24, 2021 07:105,99243,244,45216,146,0003,027,0002,523,136
11May 24, 2021 07:115,99244,775,44417,157,0002,018,0002,527,232
12May 24, 2021 07:115,99448,293,22217,162,0002,019,0002,527,232
13May 24, 2021 07:105,99636,573,63716,158,0003,029,0002,523,136
14May 24, 2021 07:105,99644,327,38617,168,0002,019,0002,527,232
15May 24, 2021 07:115,99737,091,57917,170,0002,020,0002,519,040
16May 24, 2021 07:106,00035,487,87116,168,0003,031,0002,531,328
17May 24, 2021 07:106,00139,818,61816,171,0003,032,0002,535,424
18May 24, 2021 07:106,00142,563,18417,183,0002,021,0002,334,720
19May 24, 2021 07:106,00446,751,45718,201,0001,011,0002,334,720
20May 24, 2021 07:106,01046,168,98116,196,0003,036,0002,392,064
21May 24, 2021 07:106,01384,645,21919,241,89802,248,704
22May 24, 2021 07:106,01437,523,83817,220,0002,025,0002,519,040
23May 24, 2021 07:106,01639,022,20916,213,0003,039,0002,334,720
24May 24, 2021 07:116,02131,504,64017,238,0002,028,0002,334,720
25May 24, 2021 07:116,02279,485,79819,270,11602,236,416
26May 24, 2021 07:106,02537,407,70617,251,0002,029,0002,334,720
27May 24, 2021 07:116,02843,144,50417,259,0002,030,0002,334,720
28May 24, 2021 07:106,02866,274,68019,288,57702,240,512
29May 24, 2021 07:106,02938,527,88916,248,0003,046,0002,334,720
30May 24, 2021 07:106,02996,938,57019,294,10902,236,416
31May 24, 2021 07:116,036102,881,85519,315,08202,244,608
32May 24, 2021 07:106,04776,228,87919,351,01502,244,608
33May 24, 2021 07:116,05243,668,65317,329,0002,038,0002,531,328
34May 24, 2021 07:106,07385,639,06019,433,18802,240,512
35May 24, 2021 07:116,09486,302,59219,500,26702,232,320
36May 24, 2021 07:106,09680,172,71719,507,14402,240,512