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 16, 2022 04:51Yuriy LyfenkoYuriy LyfenkoScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 04:514,623543,124,93813,807,000986,0002,297,856
2Jul 16, 2022 04:514,627541,339,36712,831,0001,974,0002,285,568
3Jul 16, 2022 04:514,631542,739,03712,844,0001,976,0002,285,568
4Jul 16, 2022 04:514,632541,196,92013,835,000988,0002,285,568
5Jul 16, 2022 04:514,636546,555,98612,857,0001,978,0002,289,664
6Jul 16, 2022 04:514,646540,832,31012,885,0001,982,0002,289,664
7Jul 16, 2022 04:514,648539,695,27112,891,0001,983,0002,285,568
8Jul 16, 2022 04:514,651536,780,23812,898,0001,984,0002,285,568
9Jul 16, 2022 04:514,660542,666,38812,923,0001,988,0002,285,568
10Jul 16, 2022 04:514,782581,697,42215,303,04602,297,856
11Jul 16, 2022 04:514,787574,973,13515,317,42202,297,856
12Jul 16, 2022 04:514,807572,579,11515,383,00402,260,992