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 16, 2021 22:57Yuriy LyfenkoYuriy LyfenkoScore: 5,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:575,727168,700,73516,398,0001,929,0002,523,136
2May 16, 2021 22:575,7282,920,126,65716,401,0001,929,0002,519,040
3May 16, 2021 22:575,735911,571,83016,312,0002,039,0002,265,088
4May 16, 2021 22:575,7433,636,282,14615,475,0002,901,0002,260,992
5May 16, 2021 22:575,7543,195,300,06118,414,00002,519,040
6May 16, 2021 22:575,7684,951,770,58517,486,000971,0002,260,992
7May 16, 2021 22:575,7762,376,948,57716,537,0001,945,0002,523,136
8May 16, 2021 22:575,7874,955,634,35916,569,0001,949,0002,269,184
9May 16, 2021 22:575,7954,777,151,87716,592,0001,952,0002,265,088
10May 16, 2021 22:576,0674,449,630,65119,413,94002,281,472
11May 16, 2021 22:576,0943,992,320,55919,499,56402,285,568
12May 16, 2021 22:576,096456,192,61819,506,47502,281,472