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 3, 2021 21:45piculpiculScore: 5,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2021 21:505,46461,546,06917,483,27502,297,856
2Sep 3, 2021 21:455,47177,469,64817,507,07302,297,856
3Sep 3, 2021 21:505,47389,700,51717,513,34802,256,896
4Sep 3, 2021 21:505,47598,746,15517,518,46802,301,952
5Sep 3, 2021 21:455,47986,128,85817,533,93102,301,952
6Sep 3, 2021 21:505,48089,592,01817,534,97602,297,856
7Sep 3, 2021 21:505,48288,206,11517,543,29002,293,760
8Sep 3, 2021 21:455,48997,574,11717,563,82202,179,072
9Sep 3, 2021 21:505,51694,266,76217,651,77602,293,760