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 19, 2024 10:09Matt StuchlikMatt StuchlikScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:095,53948,254,44016,682,0001,042,0002,289,664
2Jul 19, 2024 10:095,54234,037,01216,692,0001,043,0002,289,664
3Jul 19, 2024 10:095,56943,422,93415,840,0001,980,0002,277,376
4Jul 19, 2024 10:095,57643,198,92216,853,000991,0002,289,664
5Jul 19, 2024 10:095,58144,723,45916,866,000992,0002,289,664
6Jul 19, 2024 10:095,58451,760,89215,883,0001,985,0002,289,664
7Jul 19, 2024 10:095,58641,803,65216,882,000993,0002,289,664
8Jul 19, 2024 10:095,58745,782,04115,891,0001,986,0002,273,280
9Jul 19, 2024 10:095,60732,456,07115,950,0001,993,0002,265,088
10Jul 19, 2024 10:095,77091,639,87818,464,01602,301,952
11Jul 19, 2024 10:095,81478,240,96218,604,00702,301,952
12Jul 19, 2024 10:095,83797,636,08418,677,80702,174,976