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 18:50AndreyTSAndreyTSScore: 5,363Success
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 18:505,33840,646,93315,073,0002,009,0002,289,664
2Jun 8, 2024 18:505,34242,362,13616,089,0001,005,0002,265,088
3Jun 8, 2024 18:505,34541,893,25115,093,0002,012,0002,289,664
4Jun 8, 2024 18:505,35640,925,62815,124,0002,016,0002,289,664
5Jun 8, 2024 18:505,36240,493,67916,149,0001,009,0002,289,664
6Jun 8, 2024 18:505,36340,928,40016,153,0001,009,0002,289,664
7Jun 8, 2024 18:505,36333,466,09815,143,0002,019,0002,289,664
8Jun 8, 2024 18:505,36839,393,61815,157,0002,021,0002,289,664
9Jun 8, 2024 18:505,37839,460,18416,199,0001,012,0002,289,664
10Jun 8, 2024 18:505,58682,222,25317,875,47902,252,800
11Jun 8, 2024 18:505,62088,606,89717,983,13402,301,952
12Jun 8, 2024 18:505,65559,482,93618,096,11102,301,952