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 24, 2021 18:33Yuriy LyfenkoYuriy LyfenkoScore: 5,154Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:335,09835,658,16315,294,0001,019,0002,400,256
2May 24, 2021 18:335,10937,874,73115,329,0001,021,0002,265,088
3May 24, 2021 18:335,11844,771,09615,355,0001,023,0002,396,160
4May 24, 2021 18:335,12440,026,36715,372,0001,024,0002,265,088
5May 24, 2021 18:335,12636,676,49916,402,00002,400,256
6May 24, 2021 18:335,13142,586,35916,419,00002,383,872
7May 24, 2021 18:335,15432,958,98615,464,0001,030,0002,265,088
8May 24, 2021 18:335,15733,247,84215,471,0001,031,0002,265,088
9May 24, 2021 18:335,18948,236,24715,567,0001,037,0002,265,088
10May 24, 2021 18:335,30448,132,86616,973,47802,277,376
11May 24, 2021 18:335,33559,571,65217,071,42702,260,992
12May 24, 2021 18:335,37281,013,62617,190,28302,273,280