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, 2022 19:36Robert BurkeRobert BurkeScore: 4,811Success
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, 2022 19:364,75838,513,62014,211,0001,015,0002,281,472
2Jul 22, 2022 19:364,76329,351,82414,226,0001,016,0002,281,472
3Jul 22, 2022 19:364,77228,973,13014,253,0001,018,0002,437,120
4Jul 22, 2022 19:364,78034,998,08614,276,0001,019,0002,281,472
5Jul 22, 2022 19:364,78331,610,29913,264,0002,040,0002,441,216
6Jul 22, 2022 19:364,80233,133,96213,317,0002,048,0002,514,944
7Jul 22, 2022 19:364,81132,026,15114,369,0001,026,0002,277,376
8Jul 22, 2022 19:364,81435,270,13713,351,0002,054,0002,519,040
9Jul 22, 2022 19:364,83643,381,79214,443,0001,031,0002,281,472
10Jul 22, 2022 19:364,93979,651,30115,803,53402,252,800
11Jul 22, 2022 19:364,94082,829,04515,806,85502,252,800
12Jul 22, 2022 19:364,96282,373,16715,878,92702,252,800