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 11, 2021 19:22Mikhail DektyarevMikhail DektyarevScore: 8,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:198,89882,773,46928,472,43902,260,992
2May 11, 2021 19:198,90884,641,64528,505,75202,265,088
3May 11, 2021 19:198,91198,580,55828,514,58102,265,088
4May 11, 2021 19:228,92082,809,50628,544,24702,265,088
5May 11, 2021 19:228,932101,444,58128,583,24002,260,992
6May 11, 2021 19:228,94185,372,69628,612,58502,269,184