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 1, 2021 11:20piculpiculScore: 5,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2021 11:205,64299,863,76618,055,09002,297,856
2Sep 1, 2021 11:205,65462,795,45918,092,72802,174,976
3Sep 2, 2021 11:445,66872,469,95118,136,84202,293,760
4Sep 1, 2021 11:255,68278,201,70818,181,07702,293,760
5Sep 1, 2021 11:255,68655,111,33718,195,95702,293,760
6Sep 2, 2021 11:445,68890,204,17918,201,60902,183,168
7Sep 1, 2021 11:205,70490,579,05218,253,73002,293,760
8Sep 1, 2021 11:255,71764,543,63618,293,27002,297,856
9Sep 2, 2021 11:445,72780,779,02318,326,23802,297,856