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 11, 2022 09:01Bernard TeoBernard TeoScore: 5,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 11, 2022 09:015,49287,389,31817,573,19702,265,088
2Sep 11, 2022 09:035,51084,891,14817,630,94602,265,088
3Sep 11, 2022 09:035,52076,202,08117,665,30602,306,048
4Aug 5, 2024 16:185,53175,065,35417,700,61502,297,856
5Sep 11, 2022 09:015,54082,002,29417,728,24702,306,048
6Sep 11, 2022 09:035,54080,507,83417,727,12402,297,856
7Aug 5, 2024 16:185,54594,026,64217,743,24502,306,048
8Sep 11, 2022 09:015,55382,554,58817,768,62902,293,760
9Aug 5, 2024 16:185,68960,636,68518,203,23602,306,048