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 19, 2021 22:33POCCOMAXAPOCCOMAXAScore: 974,552Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 22:33974,4443,179,139,7363,118,221,88402,301,952
2May 19, 2021 22:33974,4963,187,018,4853,118,388,17902,301,952
3May 19, 2021 22:33974,5043,171,065,3373,118,411,70002,301,952
4May 19, 2021 22:33974,5523,196,152,8813,118,567,83402,301,952
5May 19, 2021 22:33974,6183,190,131,9743,118,778,88702,301,952
6May 19, 2021 22:33975,0483,175,566,2123,120,152,58402,183,168