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 11, 2021 15:21Andrey TsvetkovAndrey TsvetkovScore: 34,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:2134,022159,547,448108,871,13602,179,072
2May 11, 2021 15:2134,113160,639,437109,161,49702,297,856
3May 11, 2021 15:2134,139167,521,844109,245,17102,174,976
4May 11, 2021 15:2134,252173,959,540109,606,95402,293,760
5May 11, 2021 15:2134,282161,885,660109,703,77102,183,168
6May 11, 2021 15:2134,322164,268,989109,829,26202,179,072
7May 11, 2021 15:2134,330163,188,582109,855,91802,179,072
8May 11, 2021 15:2134,347174,509,240109,910,17802,183,168
9May 11, 2021 15:2134,487173,647,607110,358,92602,179,072