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 7, 2021 20:44piculpiculScore: 5,741Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 20:445,71482,116,04618,283,31302,174,976
2Sep 7, 2021 20:445,71697,828,42718,292,53502,174,976
3Sep 8, 2021 13:245,72786,257,70518,325,36402,293,760
4Sep 8, 2021 13:245,74182,645,11318,371,81802,301,952
5Sep 7, 2021 20:445,77491,494,35318,478,36702,301,952
6Sep 8, 2021 13:245,77780,390,60918,486,49902,183,168