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 14:46Yuriy LyfenkoYuriy LyfenkoScore: 5,113Success
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 14:465,05939,365,16514,166,0002,023,0002,265,088
2May 23, 2021 14:465,07643,787,31616,242,00002,265,088
3May 23, 2021 14:465,08941,073,94914,250,0002,035,0002,527,232
4May 23, 2021 14:465,09436,013,48415,284,0001,018,0002,400,256
5May 23, 2021 14:465,09542,749,79015,286,0001,019,0002,387,968
6May 23, 2021 14:465,10949,579,08715,328,0001,021,0002,265,088
7May 23, 2021 14:465,11336,842,72616,360,00002,392,064
8May 23, 2021 14:465,12940,362,99015,387,0001,025,0002,510,848
9May 23, 2021 14:465,13643,183,84115,409,0001,027,0002,265,088
10May 23, 2021 14:465,31080,184,28116,991,28502,281,472
11May 23, 2021 14:465,33158,029,22017,059,19802,285,568
12May 23, 2021 14:465,36083,643,15217,150,70102,265,088