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 21, 2024 11:07Matt StuchlikMatt StuchlikScore: 5,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:075,02632,995,01214,072,0002,010,0002,289,664
2Jul 21, 2024 11:075,03344,118,24814,093,0002,013,0002,289,664
3Jul 21, 2024 11:075,03436,341,29414,095,0002,013,0002,289,664
4Jul 21, 2024 11:075,04441,797,54315,133,0001,008,0002,289,664
5Jul 21, 2024 11:075,04833,253,64814,136,0002,019,0002,289,664
6Jul 21, 2024 11:075,04935,697,57114,137,0002,019,0002,269,184
7Jul 21, 2024 11:075,06034,050,87914,168,0002,024,0002,289,664
8Jul 21, 2024 11:075,06243,317,75714,173,0002,024,0002,289,664
9Jul 21, 2024 11:075,13240,170,83915,397,0001,026,0002,281,472
10Jul 21, 2024 11:075,27892,157,79016,891,06802,289,664
11Jul 21, 2024 11:075,29593,232,67816,942,79902,285,568
12Jul 21, 2024 11:075,33890,745,97717,081,51302,293,760