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:34AndreyTSAndreyTSScore: 5,795Success
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:345,73338,260,66816,309,0002,038,0002,289,664
2Jun 8, 2024 18:345,74147,126,56716,329,0002,041,0002,289,664
3Jun 8, 2024 18:345,74544,293,30516,343,0002,042,0002,289,664
4Jun 8, 2024 18:345,75135,920,31016,358,0002,044,0002,289,664
5Jun 8, 2024 18:345,75742,857,57616,375,0002,046,0002,273,280
6Jun 8, 2024 18:345,79345,692,44117,509,0001,029,0002,289,664
7Jun 8, 2024 18:345,79540,766,30017,513,0001,030,0002,265,088
8Jun 8, 2024 18:345,79739,824,50217,520,0001,030,0002,289,664
9Jun 8, 2024 18:345,80543,159,59517,544,0001,032,0002,273,280
10Jun 8, 2024 18:346,03591,629,15719,310,88002,301,952
11Jun 8, 2024 18:346,03991,939,34619,324,43802,297,856
12Jun 8, 2024 18:346,06877,090,89819,418,64602,301,952