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 8, 2024 19:14джулисджулисScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:145,52943,576,06816,653,0001,040,0002,293,760
2Jun 8, 2024 19:145,53234,350,25616,661,0001,041,0002,293,760
3Jun 8, 2024 19:145,57146,100,54316,838,000990,0002,371,584
4Jun 8, 2024 19:145,57344,139,01515,853,0001,981,0002,293,760
5Jun 8, 2024 19:145,57845,959,00915,867,0001,983,0002,293,760
6Jun 8, 2024 19:145,58248,299,89715,879,0001,984,0002,371,584
7Jun 8, 2024 19:145,58353,972,19016,872,000992,0002,375,680
8Jun 8, 2024 19:145,58749,090,64816,885,000993,0002,371,584
9Jun 8, 2024 19:145,58851,683,89516,888,000993,0002,371,584
10Jun 8, 2024 19:145,76982,970,58718,459,72602,240,512
11Jun 8, 2024 19:145,77391,119,12418,473,08702,265,088
12Jun 8, 2024 19:145,83198,754,10818,658,70402,240,512