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 listJul 16, 2022 13:02Franek KortaFranek KortaScore: 17,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 13:0217,292116,213,62155,333,70602,289,664
2Jul 16, 2022 13:0217,293139,492,74555,336,52002,293,760
3Jul 16, 2022 13:0217,344115,314,47255,499,73902,301,952