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 listAug 10, 2023 08:39parsersmailparsersmailScore: 5,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 08:395,71245,456,51916,248,0002,031,0002,347,008
2Aug 10, 2023 08:395,72041,555,78917,288,0001,016,0002,347,008
3Aug 10, 2023 08:395,72142,902,74216,273,0002,034,0002,347,008
4Aug 10, 2023 08:395,72740,024,93417,308,0001,018,0002,347,008
5Aug 10, 2023 08:395,73338,339,28517,326,0001,019,0002,347,008
6Aug 10, 2023 08:395,75940,644,18217,407,0001,023,0002,285,568
7Aug 10, 2023 08:395,76478,709,20618,444,29902,252,800
8Aug 10, 2023 08:395,76541,997,95618,448,00002,347,008
9Aug 10, 2023 08:395,76936,811,11318,461,00002,347,008
10Aug 10, 2023 08:395,81649,420,32216,544,0002,068,0002,498,560
11Aug 10, 2023 08:395,91396,629,74618,922,20902,256,896
12Aug 10, 2023 08:396,05083,748,71319,360,08702,252,800