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 listJun 9, 2024 21:20джулисджулисScore: 5,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:205,29840,897,56915,956,000997,0002,293,760
2Jun 9, 2024 21:205,30043,344,27315,963,000997,0002,293,760
3Jun 9, 2024 21:205,30246,370,25914,970,0001,996,0002,293,760
4Jun 9, 2024 21:205,30334,082,97315,973,000998,0002,375,680
5Jun 9, 2024 21:205,31444,839,70716,006,0001,000,0002,293,760
6Jun 9, 2024 21:205,31836,933,98015,015,0002,002,0002,363,392
7Jun 9, 2024 21:205,32033,990,65916,023,0001,001,0002,293,760
8Jun 9, 2024 21:205,35142,396,01215,108,0002,014,0002,379,776
9Jun 9, 2024 21:205,36739,758,87415,153,0002,020,0002,293,760
10Jun 9, 2024 21:205,53678,575,52817,715,64902,260,992
11Jun 9, 2024 21:205,540103,465,41917,727,33202,252,800
12Jun 9, 2024 21:205,56170,127,18217,796,05502,248,704