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 19, 2021 23:01alex3dalex3dScore: 5,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:015,44736,887,92717,431,00002,437,120
2May 19, 2021 23:015,46443,132,04617,485,00002,531,328
3May 19, 2021 23:015,47737,011,85016,431,0001,095,0002,527,232
4May 19, 2021 23:015,48338,288,02917,546,00002,445,312
5May 19, 2021 23:015,49241,618,11017,573,00002,531,328
6May 19, 2021 23:015,49838,908,02417,592,00002,265,088
7May 19, 2021 23:015,49841,203,05117,594,00002,531,328
8May 19, 2021 23:015,51147,435,17217,635,00002,449,408
9May 19, 2021 23:015,51340,783,21517,640,00002,437,120
10May 19, 2021 23:015,77881,266,85018,488,84902,207,744
11May 19, 2021 23:015,78182,465,77218,499,29702,191,360
12May 19, 2021 23:015,80885,548,06918,584,85602,211,840
13May 19, 2021 23:015,80871,029,83718,584,45902,203,648
14May 19, 2021 23:015,86089,069,99918,751,97402,195,456
15May 19, 2021 23:015,86465,792,34418,763,87302,203,648