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 27, 2022 14:24Robert BurkeRobert BurkeScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:244,42127,695,81112,126,0002,021,0002,453,504
2Jul 27, 2022 14:244,43133,558,47712,154,0002,025,0002,281,472
3Jul 27, 2022 14:244,43731,670,14812,169,0002,028,0002,281,472
4Jul 27, 2022 14:244,43735,225,24012,170,0002,028,0002,445,312
5Jul 27, 2022 14:244,44328,944,41012,186,0002,031,0002,453,504
6Jul 27, 2022 14:244,45033,539,53712,207,0002,034,0002,281,472
7Jul 27, 2022 14:244,45336,201,64412,215,0002,035,0002,281,472
8Jul 27, 2022 14:244,46032,234,86613,254,0001,019,0002,281,472
9Jul 27, 2022 14:244,46133,832,12712,236,0002,039,0002,453,504
10Jul 27, 2022 14:244,69598,026,36115,024,61602,203,648
11Jul 27, 2022 14:244,70078,567,33115,040,56602,203,648
12Jul 27, 2022 14:244,70684,603,08315,058,05002,199,552