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 30, 2024 03:10BenBenScore: 5,230Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:105,19843,334,27615,595,0001,039,0002,265,088
2Jul 30, 2024 03:105,20830,238,70116,665,00002,506,752
3Jul 30, 2024 03:105,21044,036,59016,673,00002,387,968
4Jul 30, 2024 03:105,21336,529,63815,641,0001,042,0002,269,184
5Jul 30, 2024 03:105,21438,229,00315,644,0001,042,0002,265,088
6Jul 30, 2024 03:105,21947,205,04816,702,00002,506,752
7Jul 30, 2024 03:105,23048,054,73115,753,000984,0002,392,064
8Jul 30, 2024 03:105,27234,676,97815,878,000992,0002,265,088
9Jul 30, 2024 03:105,27542,847,50915,887,000992,0002,265,088
10Jul 30, 2024 03:105,42881,858,34417,368,12202,289,664
11Jul 30, 2024 03:105,44496,048,66417,421,44402,281,472
12Jul 30, 2024 03:105,45391,644,07917,448,30902,277,376