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 14:43Andrey TsvetkovAndrey TsvetkovScore: 6,204Success
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 14:426,12040,906,23219,584,00002,527,232
2May 11, 2021 14:426,13345,833,07415,494,0004,131,0002,510,848
3May 11, 2021 14:426,13347,181,04817,561,0002,066,0002,527,232
4May 11, 2021 14:426,13643,682,02716,534,0003,100,0002,326,528
5May 11, 2021 14:426,13844,134,54317,573,0002,067,0002,326,528
6May 11, 2021 14:426,15350,837,63518,655,0001,036,0002,531,328
7May 11, 2021 14:426,16948,153,06616,625,0003,117,0002,326,528
8May 11, 2021 14:426,20480,629,03919,851,60602,236,416
9May 11, 2021 14:426,21149,788,13817,887,0001,987,0002,531,328
10May 11, 2021 14:426,21246,933,74317,890,0001,987,0002,326,528
11May 11, 2021 14:426,215108,002,33519,887,67802,224,128
12May 11, 2021 14:436,24693,721,12719,988,34402,236,416
13May 11, 2021 14:436,25586,810,41820,016,92302,224,128
14May 11, 2021 14:426,25795,021,58120,022,05802,236,416
15May 11, 2021 14:436,26695,261,20520,052,62802,240,512