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 20, 2024 15:34Matt StuchlikMatt StuchlikScore: 4,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 15:344,73336,149,54013,126,0002,019,0002,289,664
2Jul 20, 2024 15:344,73537,945,42613,133,0002,020,0002,269,184
3Jul 20, 2024 15:344,73839,131,76513,139,0002,021,0002,273,280
4Jul 20, 2024 15:344,73938,227,74813,144,0002,022,0002,277,376
5Jul 20, 2024 15:344,74643,371,10413,162,0002,025,0002,289,664
6Jul 20, 2024 15:344,75530,951,47813,187,0002,028,0002,289,664
7Jul 20, 2024 15:344,75736,778,99213,192,0002,029,0002,265,088
8Jul 20, 2024 15:344,75736,666,41013,193,0002,029,0002,289,664
9Jul 20, 2024 15:344,75931,147,02313,198,0002,030,0002,269,184
10Jul 20, 2024 15:344,99598,218,08715,983,28802,289,664
11Jul 20, 2024 15:345,02386,794,09816,073,88802,289,664
12Jul 20, 2024 15:345,02981,212,69516,092,30402,277,376