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 13, 2021 19:37alex3dalex3dScore: 5,188Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:375,16629,582,85815,497,0001,033,0002,441,216
2May 13, 2021 19:375,17437,125,01615,524,0001,034,0002,441,216
3May 13, 2021 19:375,18035,671,51415,540,0001,036,0002,445,312
4May 13, 2021 19:375,18243,342,24615,545,0001,036,0002,273,280
5May 13, 2021 19:375,18338,093,38115,548,0001,036,0002,449,408
6May 13, 2021 19:375,18532,691,85215,556,0001,037,0002,535,424
7May 13, 2021 19:375,18848,070,33615,564,0001,037,0002,273,280
8May 13, 2021 19:375,19441,695,75015,582,0001,038,0002,535,424
9May 13, 2021 19:375,19844,971,17315,596,0001,039,0002,531,328
10May 13, 2021 19:375,42780,278,26617,365,18602,199,552
11May 13, 2021 19:375,44859,704,63017,432,83002,203,648
12May 13, 2021 19:375,45483,751,31717,452,18802,203,648