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 21:23Mikhail ShirokovMikhail ShirokovScore: 143,437Success
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 21:23143,371524,858,798458,788,57702,265,088
2May 11, 2021 21:23143,433520,646,084458,986,00802,260,992
3May 11, 2021 21:23143,437516,912,541458,996,87102,252,800
4May 11, 2021 21:23143,437521,429,656458,999,35502,256,896
5May 11, 2021 21:23143,594518,536,485459,499,31902,260,992
6May 11, 2021 21:23143,644527,846,443459,661,91002,252,800