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 27, 2021 17:32Mikhail ShirokovMikhail ShirokovScore: 5,955Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:325,94356,107,60819,016,13702,170,880
2May 27, 2021 19:335,94851,936,83319,033,33102,297,856
3May 27, 2021 19:335,94952,114,63619,037,22802,256,896
4May 27, 2021 17:325,95579,437,44319,054,49902,293,760
5May 27, 2021 19:335,97488,353,12519,117,90202,293,760
6May 27, 2021 17:325,98390,280,05619,144,08302,297,856