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 16, 2021 15:43Yuriy LyfenkoYuriy LyfenkoScore: 6,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:436,11438,549,27417,505,0002,059,0002,326,528
2May 16, 2021 15:436,11943,812,68218,550,0001,030,0002,326,528
3May 16, 2021 15:436,12043,539,71918,554,0001,030,0002,330,624
4May 16, 2021 15:436,13244,683,62318,591,0001,032,0002,514,944
5May 16, 2021 15:436,13643,257,35217,568,0002,066,0002,326,528
6May 16, 2021 15:436,15951,096,67017,634,0002,074,0002,326,528
7May 16, 2021 15:436,16333,966,95217,646,0002,076,0002,326,528
8May 16, 2021 15:436,16749,768,06018,697,0001,038,0002,514,944
9May 16, 2021 15:436,17784,116,18619,766,00302,220,032
10May 16, 2021 15:426,21783,723,08019,893,11502,220,032
11May 16, 2021 15:436,22175,981,06119,905,64602,215,936
12May 16, 2021 15:436,25465,150,76820,012,41702,228,224
13May 16, 2021 15:426,25767,938,42920,022,73902,224,128
14May 16, 2021 15:436,26788,517,92420,053,15002,224,128
15May 16, 2021 15:436,26867,563,18020,057,56202,232,320
16May 16, 2021 15:436,27195,571,60120,065,74202,220,032
17May 16, 2021 15:436,28645,176,60318,104,0002,011,0002,519,040
18May 16, 2021 15:426,29582,728,19220,143,74202,228,224
19May 16, 2021 15:436,29890,684,88220,153,34202,224,128
20May 16, 2021 15:436,31885,002,98320,217,97602,228,224
21May 16, 2021 15:436,40989,914,55820,507,73402,220,032