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 10:13Ilya AniskovetsIlya AniskovetsScore: 5,323Success
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 10:135,27145,310,09415,874,000992,0002,527,232
2Oct 27, 2021 10:135,27945,890,96315,901,000993,0002,265,088
3Oct 27, 2021 10:135,28347,284,69414,916,0001,988,0002,265,088
4Oct 27, 2021 10:135,28750,253,41715,922,000995,0002,396,160
5Oct 27, 2021 10:135,30644,856,10114,983,0001,997,0002,265,088
6Oct 27, 2021 10:135,30734,365,03215,984,000999,0002,265,088
7Oct 27, 2021 10:135,32341,020,24416,032,0001,002,0002,465,792
8Oct 27, 2021 10:135,32348,106,35815,031,0002,004,0002,396,160
9Oct 27, 2021 10:135,32539,687,15816,039,0001,002,0002,383,872
10Oct 27, 2021 10:135,46583,533,96117,486,90402,269,184
11Oct 27, 2021 10:135,48288,237,17117,542,23702,285,568
12Oct 27, 2021 10:135,50380,168,90517,609,50502,281,472