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 18:24matsuoka-601matsuoka-601Score: 4,957Success
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 18:244,86330,543,17314,523,0001,037,0002,289,664
2Jun 9, 2024 18:244,87032,678,46014,545,0001,038,0002,273,280
3Jun 9, 2024 18:244,87842,470,68614,568,0001,040,0002,281,472
4Jun 9, 2024 18:244,87831,160,68015,611,00002,281,472
5Jun 9, 2024 18:244,90735,687,02614,656,0001,046,0002,293,760
6Jun 9, 2024 18:244,91344,727,74614,673,0001,048,0002,531,328
7Jun 9, 2024 18:244,95733,309,43914,870,000991,0002,293,760
8Jun 9, 2024 18:244,95947,217,79914,878,000991,0002,293,760
9Jun 9, 2024 18:244,96236,241,98214,886,000992,0002,277,376
10Jun 9, 2024 18:245,11678,675,72816,372,56102,183,168
11Jun 9, 2024 18:245,14091,089,03616,447,72302,301,952
12Jun 9, 2024 18:245,19180,637,13116,610,36202,183,168