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 28, 2024 09:00BenBenScore: 4,564Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:004,51935,616,92914,461,00002,265,088
2Jul 28, 2024 09:004,52834,177,33113,456,0001,035,0002,383,872
3Jul 28, 2024 09:004,52931,359,31013,459,0001,035,0002,265,088
4Jul 28, 2024 09:004,53327,569,97113,471,0001,036,0002,265,088
5Jul 28, 2024 09:004,54830,379,06314,552,00002,265,088
6Jul 28, 2024 09:004,55241,555,30313,526,0001,040,0002,392,064
7Jul 28, 2024 09:004,56442,202,16014,605,00002,265,088
8Jul 28, 2024 09:004,57428,355,69413,592,0001,045,0002,469,888
9Jul 28, 2024 09:004,57431,895,36314,638,00002,265,088
10Jul 28, 2024 09:004,79480,067,11915,339,97302,293,760
11Jul 28, 2024 09:004,80082,216,94115,360,88802,285,568
12Jul 28, 2024 09:004,81389,792,42315,400,27602,277,376