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 listSep 4, 2021 22:01Andrey TsvetkovAndrey TsvetkovScore: 5,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:015,64947,265,65417,073,0001,004,0002,342,912
2Sep 4, 2021 22:015,65245,538,47217,082,0001,004,0002,342,912
3Sep 4, 2021 22:015,67042,704,30017,137,0001,008,0002,433,024
4Sep 4, 2021 22:015,67545,586,77016,142,0002,017,0002,342,912
5Sep 4, 2021 22:015,68751,390,19516,177,0002,022,0002,433,024
6Sep 4, 2021 22:015,69036,856,04316,186,0002,023,0002,338,816
7Sep 4, 2021 22:015,70438,880,60416,224,0002,028,0002,441,216
8Sep 4, 2021 22:015,70840,510,15517,253,0001,014,0002,342,912
9Sep 4, 2021 22:015,70982,167,09318,268,17302,273,280
10Sep 4, 2021 22:015,73063,813,11118,336,98902,269,184
11Sep 4, 2021 22:015,73941,405,51516,326,0002,040,0002,342,912
12Sep 4, 2021 22:015,81689,562,34118,611,82802,269,184