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 18:10Andrey TsvetkovAndrey TsvetkovScore: 5,912Success
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 18:105,868106,284,89818,776,05002,240,512
2May 22, 2021 18:105,89849,629,90216,886,0001,986,0002,330,624
3May 22, 2021 18:105,89844,089,37016,886,0001,986,0002,519,040
4May 22, 2021 18:105,89931,160,30116,889,0001,987,0002,334,720
5May 22, 2021 18:105,90043,390,51616,894,0001,987,0002,334,720
6May 22, 2021 18:105,90349,010,28615,906,0002,982,0002,334,720
7May 22, 2021 18:105,90846,602,99217,856,0001,050,0002,334,720
8May 22, 2021 18:105,91239,385,70716,927,0001,991,0002,531,328
9May 22, 2021 18:105,91937,670,58815,951,0002,990,0002,334,720
10May 22, 2021 18:105,92445,820,86416,963,0001,995,0002,527,232
11May 22, 2021 18:105,99181,621,36919,170,71002,232,320
12May 22, 2021 18:106,02389,474,83719,274,55502,240,512
13May 22, 2021 18:106,08576,236,22819,473,01702,232,320
14May 22, 2021 18:106,09179,504,74119,491,75502,236,416
15May 22, 2021 18:106,09596,061,31619,502,83802,228,224