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 22, 2024 17:12Matt StuchlikMatt StuchlikScore: 4,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 17:124,65834,808,02012,919,0001,987,0002,289,664
2Jul 22, 2024 17:124,66131,947,16712,926,0001,988,0002,289,664
3Jul 22, 2024 17:124,66337,362,04112,931,0001,989,0002,289,664
4Jul 22, 2024 17:124,67430,597,03113,889,0001,068,0002,273,280
5Jul 22, 2024 17:124,67538,982,57913,964,000997,0002,289,664
6Jul 22, 2024 17:124,67735,931,08812,972,0001,995,0002,289,664
7Jul 22, 2024 17:124,67943,544,27412,978,0001,996,0002,289,664
8Jul 22, 2024 17:124,71029,624,27013,063,0002,009,0002,289,664
9Jul 22, 2024 17:124,71933,084,85113,088,0002,013,0002,269,184
10Jul 22, 2024 17:124,95357,270,63415,848,34402,297,856
11Jul 22, 2024 17:124,95485,001,59315,853,39302,306,048
12Jul 22, 2024 17:124,97082,384,46215,902,42802,289,664