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 listJul 6, 2021 00:19Yuriy LyfenkoYuriy LyfenkoScore: 5,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:195,27546,044,07014,895,0001,986,0002,265,088
2Jul 6, 2021 00:195,27648,404,66914,896,0001,986,0002,400,256
3Jul 6, 2021 00:195,28333,683,45615,913,000994,0002,383,872
4Jul 6, 2021 00:195,28841,387,15115,864,0001,057,0002,265,088
5Jul 6, 2021 00:195,29045,613,47615,934,000995,0002,396,160
6Jul 6, 2021 00:195,30345,323,54714,972,0001,996,0002,265,088
7Jul 6, 2021 00:195,31031,126,68115,992,000999,0002,387,968
8Jul 6, 2021 00:195,31945,078,18216,019,0001,001,0002,265,088
9Jul 6, 2021 00:195,34933,403,15716,110,0001,006,0002,400,256
10Jul 6, 2021 00:195,45593,796,84117,456,77702,277,376
11Jul 6, 2021 00:195,48861,742,71417,561,65202,285,568
12Jul 6, 2021 00:195,49962,511,55017,595,42702,269,184