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 13:26piculpiculScore: 5,651Success
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 13:285,61669,134,49717,972,31502,293,760
2Sep 3, 2021 13:285,64293,140,50918,054,59802,252,800
3Sep 3, 2021 13:285,64984,325,63818,077,46902,179,072
4Sep 3, 2021 13:265,65175,043,06918,084,47702,289,664
5Sep 3, 2021 13:265,67579,165,58818,160,27502,297,856
6Sep 3, 2021 13:265,67976,232,98318,173,33702,297,856