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:22Andrey TsvetkovAndrey TsvetkovScore: 5,738Success
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:225,69935,605,97515,198,0003,039,0002,527,232
2Jul 13, 2021 19:225,70145,037,46415,204,0003,040,0002,527,232
3Jul 13, 2021 19:225,71136,592,17616,246,0002,030,0002,514,944
4Jul 13, 2021 19:225,72340,854,46816,280,0002,035,0002,527,232
5Jul 13, 2021 19:225,72441,659,09415,264,0003,052,0002,326,528
6Jul 13, 2021 19:225,72538,951,39416,284,0002,035,0002,519,040
7Jul 13, 2021 19:225,73851,787,95216,321,0002,040,0002,330,624
8Jul 13, 2021 19:225,74443,100,52716,340,0002,042,0002,334,720
9Jul 13, 2021 19:225,75241,458,08816,361,0002,045,0002,334,720
10Jul 13, 2021 19:225,77476,264,37518,477,92202,240,512
11Jul 13, 2021 19:225,85488,707,61318,733,30402,215,936
12Jul 13, 2021 19:225,89577,174,03018,864,82602,224,128