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 11:44BenBenScore: 4,537Success
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 11:444,51733,203,47413,423,0001,032,0002,375,680
2Jul 30, 2024 11:444,52134,039,29613,434,0001,033,0002,379,776
3Jul 30, 2024 11:444,52529,993,66213,445,0001,034,0002,375,680
4Jul 30, 2024 11:444,52830,367,63513,455,0001,035,0002,379,776
5Jul 30, 2024 11:444,52830,338,92513,455,0001,035,0002,265,088
6Jul 30, 2024 11:444,53031,160,15113,461,0001,035,0002,523,136
7Jul 30, 2024 11:444,53735,227,52314,517,00002,383,872
8Jul 30, 2024 11:444,53931,806,00413,487,0001,037,0002,265,088
9Jul 30, 2024 11:444,54535,328,03914,545,00002,371,584
10Jul 30, 2024 11:444,77680,065,98415,282,66602,273,280
11Jul 30, 2024 11:444,80690,677,14815,378,60702,265,088
12Jul 30, 2024 11:444,81476,830,93715,404,46402,265,088