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 13:00BenBenScore: 5,125Success
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 13:005,08434,117,74216,268,00002,269,184
2Jul 30, 2024 13:005,09436,040,72314,265,0002,037,0002,265,088
3Jul 30, 2024 13:005,10237,090,92015,307,0001,020,0002,379,776
4Jul 30, 2024 13:005,10938,095,19915,328,0001,021,0002,265,088
5Jul 30, 2024 13:005,11431,261,10516,364,00002,379,776
6Jul 30, 2024 13:005,11446,998,47015,344,0001,022,0002,510,848
7Jul 30, 2024 13:005,12544,712,66016,399,00002,265,088
8Jul 30, 2024 13:005,12839,278,04116,408,00002,379,776
9Jul 30, 2024 13:005,12941,282,29716,412,00002,269,184
10Jul 30, 2024 13:005,34060,539,18517,086,76402,244,608
11Jul 30, 2024 13:005,37799,317,05217,207,01802,273,280
12Jul 30, 2024 13:005,41068,330,91717,311,89302,260,992