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 listJul 13, 2021 19:07Yuriy LyfenkoYuriy LyfenkoScore: 5,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:075,6571,067,220,30518,101,29702,252,800
2Jul 13, 2021 19:075,6581,041,885,61316,093,0002,011,0002,523,136
3Jul 13, 2021 19:075,6681,041,290,87316,121,0002,015,0002,330,624
4Jul 13, 2021 19:075,6801,043,351,20515,146,0003,029,0002,330,624
5Jul 13, 2021 19:075,6811,043,758,51217,170,0001,010,0002,330,624
6Jul 13, 2021 19:075,6901,043,556,27115,173,0003,034,0002,330,624
7Jul 13, 2021 19:075,6921,040,050,19816,191,0002,023,0002,342,912
8Jul 13, 2021 19:075,6951,040,002,02015,188,0003,037,0002,330,624
9Jul 13, 2021 19:075,6971,040,502,99416,206,0002,025,0002,342,912
10Jul 13, 2021 19:075,7081,041,944,19216,237,0002,029,0002,334,720
11Jul 13, 2021 19:075,7091,085,107,34918,269,84902,256,896
12Jul 13, 2021 19:075,7491,086,372,86218,397,01102,215,936