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 19:29AndreyTSAndreyTSScore: 5,310Success
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 19:295,27345,259,47315,882,000992,0002,273,280
2Jun 8, 2024 19:295,27734,151,93215,892,000993,0002,289,664
3Jun 8, 2024 19:295,27832,346,58515,898,000993,0002,289,664
4Jun 8, 2024 19:295,28640,430,60514,925,0001,990,0002,519,040
5Jun 8, 2024 19:295,29338,401,83214,945,0001,992,0002,527,232
6Jun 8, 2024 19:295,30143,656,37614,969,0001,995,0002,277,376
7Jun 8, 2024 19:295,31033,491,62214,992,0001,999,0002,273,280
8Jun 8, 2024 19:295,31338,772,70515,001,0002,000,0002,265,088
9Jun 8, 2024 19:295,31339,863,09015,003,0002,000,0002,265,088
10Jun 8, 2024 19:295,50978,361,53117,628,64702,301,952
11Jun 8, 2024 19:295,51984,695,16717,660,96302,306,048
12Jun 8, 2024 19:295,54083,506,59917,728,00502,256,896