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 listJan 29, 2024 06:48CalCalScore: 5,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2024 06:485,61740,280,13816,976,000998,0002,285,568
2Jan 29, 2024 06:485,63945,628,15916,041,0002,005,0002,293,760
3Jan 29, 2024 06:485,64540,480,30616,058,0002,007,0002,293,760
4Jan 29, 2024 06:485,64844,065,83916,067,0002,008,0002,281,472
5Jan 29, 2024 06:485,65341,682,05517,084,0001,004,0002,293,760
6Jan 29, 2024 06:485,65442,792,72817,088,0001,005,0002,293,760
7Jan 29, 2024 06:485,66943,829,07716,127,0002,015,0002,265,088
8Jan 29, 2024 06:485,67038,550,14217,136,0001,008,0002,293,760
9Jan 29, 2024 06:485,68741,111,95117,188,0001,011,0002,293,760
10Jan 29, 2024 06:485,80282,663,48118,565,31702,306,048
11Jan 29, 2024 06:485,81266,019,85818,598,62902,191,360
12Jan 29, 2024 06:485,87679,387,10418,802,02502,306,048