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 14:11AndreyTSAndreyTSScore: 5,301Success
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 14:115,26544,020,26514,867,0001,982,0002,527,232
2Jun 9, 2024 14:115,27544,004,21214,894,0001,985,0002,400,256
3Jun 9, 2024 14:115,27531,071,76015,887,000992,0002,289,664
4Jun 9, 2024 14:115,28341,311,88114,916,0001,988,0002,289,664
5Jun 9, 2024 14:115,28739,096,32614,929,0001,990,0002,392,064
6Jun 9, 2024 14:115,30038,481,67714,966,0001,995,0002,289,664
7Jun 9, 2024 14:115,30142,286,95814,968,0001,995,0002,289,664
8Jun 9, 2024 14:115,35036,988,44415,106,0002,014,0002,265,088
9Jun 9, 2024 14:115,35143,279,09517,124,00002,523,136
10Jun 9, 2024 14:115,50079,721,43517,598,62402,174,976
11Jun 9, 2024 14:115,50253,341,42617,605,29302,285,568
12Jun 9, 2024 14:115,51281,394,00417,637,89402,174,976