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 listOct 11, 2021 10:30piculpiculScore: 5,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2021 10:305,34198,648,49117,092,07002,297,856
2Oct 11, 2021 10:325,34471,484,00417,100,29002,293,760
3Oct 11, 2021 10:305,34686,369,49417,105,87502,297,856
4Oct 11, 2021 10:325,36682,001,08717,172,17302,289,664
5Oct 11, 2021 10:325,37677,993,89617,202,71602,293,760
6Oct 11, 2021 10:305,40657,994,37617,298,97602,301,952