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 18, 2021 15:27piculpiculScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2021 15:285,60787,425,47217,941,42802,285,568
2Sep 18, 2021 15:285,63790,933,01818,038,71302,301,952
3Sep 18, 2021 15:275,64494,965,41918,061,69502,301,952
4Sep 18, 2021 15:275,65081,614,91918,080,34402,293,760
5Sep 18, 2021 15:285,650103,501,14818,081,44202,297,856
6Sep 18, 2021 15:275,66190,442,18218,116,52602,301,952