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 30, 2024 10:31AnSaAnSaScore: 5,107Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:315,07437,030,53215,224,0001,014,0002,289,664
2Jun 30, 2024 10:315,07741,185,34514,215,0002,030,0002,523,136
3Jun 30, 2024 10:315,08037,902,12714,225,0002,032,0002,527,232
4Jun 30, 2024 10:315,10238,793,69315,305,0001,020,0002,273,280
5Jun 30, 2024 10:315,10442,583,83814,291,0002,041,0002,289,664
6Jun 30, 2024 10:315,10442,984,44715,313,0001,020,0002,289,664
7Jun 30, 2024 10:315,10732,085,25616,343,00002,527,232
8Jun 30, 2024 10:315,12331,367,62814,344,0002,049,0002,523,136
9Jun 30, 2024 10:315,16432,654,98415,493,0001,032,0002,273,280
10Jun 30, 2024 10:315,32164,571,91817,027,01502,297,856
11Jun 30, 2024 10:315,36789,586,96917,174,76902,293,760
12Jun 30, 2024 10:315,41570,466,45117,327,80702,285,568