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 listOct 27, 2021 07:54Ilya AniskovetsIlya AniskovetsScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 07:545,27243,164,15714,885,0001,984,0002,383,872
2Oct 27, 2021 07:545,27244,801,30715,878,000992,0002,265,088
3Oct 27, 2021 07:545,27343,683,83715,881,000992,0002,265,088
4Oct 27, 2021 07:545,27338,180,75614,888,0001,985,0002,392,064
5Oct 27, 2021 07:545,28335,162,29114,917,0001,988,0002,396,160
6Oct 27, 2021 07:545,29548,941,01715,948,000996,0002,265,088
7Oct 27, 2021 07:545,29936,103,93814,962,0001,994,0002,265,088
8Oct 27, 2021 07:545,30935,323,62914,992,0001,998,0002,265,088
9Oct 27, 2021 07:545,32045,213,27616,023,0001,001,0002,265,088
10Oct 27, 2021 07:545,46691,671,54317,490,99602,273,280
11Oct 27, 2021 07:545,48974,650,59817,564,00102,281,472
12Oct 27, 2021 07:545,49682,080,01417,587,80102,273,280