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 17, 2024 13:14Matt StuchlikMatt StuchlikScore: 5,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 13:145,68840,844,50417,190,0001,011,0002,523,136
2Jul 17, 2024 13:145,69340,154,95816,194,0002,024,0002,273,280
3Jul 17, 2024 13:145,70044,542,88517,227,0001,013,0002,289,664
4Jul 17, 2024 13:145,71946,671,40716,269,0002,033,0002,289,664
5Jul 17, 2024 13:145,73146,124,94616,303,0002,037,0002,523,136
6Jul 17, 2024 13:145,73547,835,41216,313,0002,039,0002,289,664
7Jul 17, 2024 13:145,73935,591,12617,344,0001,020,0002,265,088
8Jul 17, 2024 13:145,74447,855,71516,340,0002,042,0002,289,664
9Jul 17, 2024 13:145,74839,553,92917,373,0001,021,0002,289,664
10Jul 17, 2024 13:146,15488,139,97719,692,53902,301,952
11Jul 17, 2024 13:146,18694,150,04519,796,25502,297,856
12Jul 17, 2024 13:146,20493,787,41719,852,69002,297,856