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 listFeb 22, 2024 12:29Huy Duc LeHuy Duc LeScore: 5,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:295,47339,629,11516,483,0001,030,0002,293,760
2Feb 22, 2024 12:295,49142,147,64116,537,0001,033,0002,273,280
3Feb 22, 2024 12:295,49244,949,50916,542,0001,033,0002,293,760
4Feb 22, 2024 12:295,49945,485,42916,561,0001,035,0002,293,760
5Feb 22, 2024 12:295,50341,242,84216,574,0001,035,0002,523,136
6Feb 22, 2024 12:295,50544,735,43816,579,0001,036,0002,293,760
7Feb 22, 2024 12:295,50744,133,74116,586,0001,036,0002,293,760
8Feb 22, 2024 12:295,50948,368,72216,592,0001,037,0002,293,760
9Feb 22, 2024 12:295,51444,548,67616,608,0001,038,0002,293,760
10Feb 22, 2024 12:295,694103,849,61718,221,41902,293,760
11Feb 22, 2024 12:295,70287,963,66918,245,27302,301,952
12Feb 22, 2024 12:295,71375,808,69718,281,31602,306,048