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 13:24Mikhail DektyarevMikhail DektyarevScore: 2,519,994Success
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 13:242,516,9468,113,737,4938,054,227,36502,248,704
2May 11, 2021 13:242,519,9948,131,249,7428,063,980,57102,260,992
3May 11, 2021 13:242,521,0108,131,470,3848,067,232,30602,256,896