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 18:30Yuriy LyfenkoYuriy LyfenkoScore: 5,199Success
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 18:305,16343,617,28415,488,0001,032,0002,265,088
2May 23, 2021 18:305,16337,188,92515,489,0001,032,0002,265,088
3May 23, 2021 18:305,18243,287,83315,545,0001,036,0002,265,088
4May 23, 2021 18:305,18541,196,78716,592,00002,396,160
5May 23, 2021 18:305,18843,188,15015,566,0001,037,0002,265,088
6May 23, 2021 18:305,19733,981,98015,591,0001,039,0002,265,088
7May 23, 2021 18:305,19942,784,45115,599,0001,039,0002,400,256
8May 23, 2021 18:305,21547,062,22615,645,0001,043,0002,392,064
9May 23, 2021 18:305,21543,907,07315,646,0001,043,0002,392,064
10May 23, 2021 18:305,35976,527,22317,149,26002,265,088
11May 23, 2021 18:305,44577,854,07117,422,68802,285,568
12May 23, 2021 18:305,45485,205,68417,452,90402,281,472