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 11, 2021 15:54Andrey TsvetkovAndrey TsvetkovScore: 6,197Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:556,10936,716,39217,491,0002,057,0002,326,528
2May 11, 2021 15:556,11341,718,87819,562,00002,326,528
3May 11, 2021 15:546,13049,429,90118,583,0001,032,0002,527,232
4May 11, 2021 15:556,13050,027,77019,615,00002,396,160
5May 11, 2021 15:546,13347,133,60118,592,0001,032,0002,531,328
6May 11, 2021 15:556,14143,178,15818,616,0001,034,0002,330,624
7May 11, 2021 15:546,14343,597,12818,625,0001,034,0002,326,528
8May 11, 2021 15:556,15050,087,04018,645,0001,035,0002,523,136
9May 11, 2021 15:546,15250,913,67118,649,0001,036,0002,326,528
10May 11, 2021 15:556,15346,224,58918,655,0001,036,0002,523,136
11May 11, 2021 15:546,15949,033,36118,673,0001,037,0002,523,136
12May 11, 2021 15:546,16337,098,67317,646,0002,076,0002,326,528
13May 11, 2021 15:546,16437,864,98018,687,0001,038,0002,326,528
14May 11, 2021 15:546,16651,191,22118,694,0001,038,0002,523,136
15May 11, 2021 15:556,186103,480,10719,795,65202,244,608
16May 11, 2021 15:546,19785,472,40719,829,55002,244,608
17May 11, 2021 15:556,20590,752,98819,855,81302,232,320
18May 11, 2021 15:556,20944,496,92618,875,000993,0002,326,528
19May 11, 2021 15:556,21346,047,57518,888,000994,0002,527,232
20May 11, 2021 15:556,21344,786,13818,889,000994,0002,531,328
21May 11, 2021 15:546,21544,613,33017,899,0001,988,0002,519,040
22May 11, 2021 15:546,22779,533,01219,927,46602,232,320
23May 11, 2021 15:556,23666,553,12019,955,26102,236,416
24May 11, 2021 15:546,24180,440,08919,969,92102,240,512
25May 11, 2021 15:556,25188,695,71220,002,00402,240,512
26May 11, 2021 15:546,25483,466,63120,013,42202,236,416
27May 11, 2021 15:556,27598,638,87020,080,37302,240,512
28May 11, 2021 15:546,29484,531,65320,139,30302,232,320
29May 11, 2021 15:546,30186,925,90620,163,03902,236,416
30May 11, 2021 15:556,37087,517,81020,383,86202,232,320