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 25, 2021 18:28Yuriy LyfenkoYuriy LyfenkoScore: 5,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 18:285,08631,558,62714,240,0002,034,0002,396,160
2May 25, 2021 18:285,09333,815,72215,280,0001,018,0002,396,160
3May 25, 2021 18:285,09645,906,11615,288,0001,019,0002,387,968
4May 25, 2021 18:285,09944,581,05515,298,0001,019,0002,527,232
5May 25, 2021 18:285,11135,734,92816,356,00002,265,088
6May 25, 2021 18:285,12939,904,67315,388,0001,025,0002,265,088
7May 25, 2021 18:285,13736,342,79516,438,00002,387,968
8May 25, 2021 18:285,14032,475,91416,448,00002,383,872
9May 25, 2021 18:285,17634,150,49115,529,0001,035,0002,265,088
10May 25, 2021 18:285,31243,931,01916,998,99602,277,376
11May 25, 2021 18:285,33067,599,64517,057,29502,281,472
12May 25, 2021 18:285,366101,492,46517,170,61202,273,280