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 listJul 13, 2021 19:28Andrey TsvetkovAndrey TsvetkovScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:285,66744,121,78715,112,0003,022,0002,531,328
2Jul 13, 2021 19:285,66834,074,84416,123,0002,015,0002,334,720
3Jul 13, 2021 19:285,67243,618,98915,125,0003,025,0002,527,232
4Jul 13, 2021 19:285,68049,268,12616,158,0002,019,0002,326,528
5Jul 13, 2021 19:285,68635,058,15916,173,0002,021,0002,351,104
6Jul 13, 2021 19:285,69541,249,16515,186,0003,037,0002,334,720
7Jul 13, 2021 19:285,70338,813,82616,223,0002,027,0002,334,720
8Jul 13, 2021 19:285,70579,455,55118,257,45902,236,416
9Jul 13, 2021 19:285,72340,560,54517,296,0001,017,0002,334,720
10Jul 13, 2021 19:285,73489,707,87818,348,45802,224,128
11Jul 13, 2021 19:285,73843,507,78616,320,0002,040,0002,334,720
12Jul 13, 2021 19:285,87496,879,68218,798,25802,228,224