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 listNov 1, 2021 16:09Ilya AniskovetsIlya AniskovetsScore: 5,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 16:105,62187,983,86217,986,71802,252,800
2Nov 1, 2021 16:095,62882,066,72818,011,12202,293,760
3Nov 1, 2021 16:135,63695,672,76918,034,88802,183,168
4Nov 1, 2021 16:135,64086,325,13118,047,97302,297,856
5Nov 1, 2021 16:135,64594,282,36518,064,19502,174,976
6Nov 1, 2021 16:105,65287,036,29018,087,90102,293,760
7Nov 1, 2021 16:095,653115,621,47018,090,92502,179,072
8Nov 1, 2021 16:105,66775,822,18618,134,79302,293,760
9Nov 1, 2021 16:095,71974,126,82118,300,52702,306,048