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 23, 2021 13:17Vladimir KuryakovVladimir KuryakovScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:175,64243,283,72217,051,0001,003,0002,519,040
2May 23, 2021 13:175,64543,384,98717,060,0001,003,0002,519,040
3May 23, 2021 13:175,64845,772,89115,060,0003,012,0002,519,040
4May 23, 2021 13:175,64936,452,75815,064,0003,012,0002,383,872
5May 23, 2021 13:175,65042,458,34417,077,0001,004,0002,519,040
6May 23, 2021 13:175,65439,199,62117,089,0001,005,0002,506,752
7May 23, 2021 13:175,65844,365,69617,100,0001,005,0002,519,040
8May 23, 2021 13:175,66546,324,78417,121,0001,007,0002,519,040
9May 23, 2021 13:175,66850,086,65917,132,0001,007,0002,519,040
10May 23, 2021 13:175,93095,966,14618,975,22002,285,568
11May 23, 2021 13:175,96989,255,14219,101,02202,293,760
12May 23, 2021 13:175,97081,751,99119,105,26502,285,568