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 listMay 16, 2021 22:36Andrey TsvetkovAndrey TsvetkovScore: 6,204Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:366,11636,819,56018,540,0001,030,0002,326,528
2May 16, 2021 22:366,12849,430,51618,576,0001,032,0002,326,528
3May 16, 2021 22:366,14346,637,95916,554,0003,103,0002,301,952
4May 16, 2021 22:366,14448,270,64718,626,0001,034,0002,514,944
5May 16, 2021 22:366,14448,300,77218,628,0001,034,0002,514,944
6May 16, 2021 22:366,15345,831,23918,653,0001,036,0002,510,848
7May 16, 2021 22:366,20484,703,14119,853,37402,232,320
8May 16, 2021 22:366,20744,973,02118,869,000993,0002,326,528
9May 16, 2021 22:366,20949,105,97818,877,000993,0002,510,848
10May 16, 2021 22:366,21152,090,35917,888,0001,987,0002,514,944
11May 16, 2021 22:366,23688,310,99719,955,15702,224,128
12May 16, 2021 22:366,24194,863,79819,971,46402,228,224