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, 2021 21:34Egor SergeevEgor SergeevScore: 5,275Success
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, 2021 21:345,19640,771,64916,627,00002,498,560
2May 30, 2021 21:345,20845,998,84616,666,00002,494,464
3May 30, 2021 21:345,21641,086,46916,691,00002,502,656
4May 30, 2021 21:345,22138,278,82416,707,00002,498,560
5May 30, 2021 21:345,22435,132,51116,717,00002,277,376
6May 30, 2021 21:345,27439,769,92315,886,000992,0002,277,376
7May 30, 2021 21:345,27530,290,02415,887,000992,0002,277,376
8May 30, 2021 21:345,27639,714,97815,889,000993,0002,498,560
9May 30, 2021 21:345,27942,216,77816,892,00002,502,656
10May 30, 2021 21:345,44263,100,56417,415,02002,244,608
11May 30, 2021 21:345,51766,998,29017,653,41902,260,992
12May 30, 2021 21:345,54160,733,17917,731,36002,244,608