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 12, 2024 03:34Yuriy LyfenkoYuriy LyfenkoScore: 4,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:344,404640,585,34712,081,0002,013,0002,265,088
2Jun 12, 2024 03:344,438640,593,77914,200,00002,260,992
3Jun 12, 2024 03:344,438643,168,92613,187,0001,014,0002,265,088
4Jun 12, 2024 03:344,438634,284,12413,188,0001,014,0002,523,136
5Jun 12, 2024 03:344,445639,146,86213,209,0001,016,0002,523,136
6Jun 12, 2024 03:344,448636,600,54013,218,0001,016,0002,260,992
7Jun 12, 2024 03:344,451637,750,70414,244,00002,260,992
8Jun 12, 2024 03:344,454647,736,28514,253,00002,396,160
9Jun 12, 2024 03:344,478633,452,92214,331,00002,523,136
10Jun 12, 2024 03:344,615679,829,79214,766,59202,240,512
11Jun 12, 2024 03:344,644681,157,85314,859,62202,240,512
12Jun 12, 2024 03:344,644665,950,48614,859,30002,293,760