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 15:35Mikhail DektyarevMikhail DektyarevScore: 15,313Success
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 15:3515,297111,081,64048,951,94402,236,416
2May 11, 2021 15:3515,313109,736,33149,000,94802,260,992
3May 11, 2021 15:3515,387109,950,88049,239,66902,269,184