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 30, 2022 13:42Keichi TakahashiKeichi TakahashiScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:425,20849,540,46715,624,0001,041,0002,265,088
2May 30, 2022 13:425,22544,378,13815,675,0001,045,0002,265,088
3May 30, 2022 13:425,22844,788,29216,730,00002,265,088
4May 30, 2022 13:425,22939,011,95016,734,00002,265,088
5May 30, 2022 13:425,26835,882,72315,865,000991,0002,265,088
6May 30, 2022 13:425,27248,232,21916,871,00002,379,776
7May 30, 2022 13:425,27441,489,69315,884,000992,0002,527,232
8May 30, 2022 13:425,27542,742,95515,887,000992,0002,490,368
9May 30, 2022 13:425,27842,083,36615,895,000993,0002,265,088
10May 30, 2022 13:425,43581,400,27417,391,75102,240,512
11May 30, 2022 13:425,43982,121,18417,406,16302,281,472
12May 30, 2022 13:425,45988,711,28817,468,93002,285,568