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 15, 2021 19:25alex3dalex3dScore: 13,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2513,24997,941,47742,396,84102,297,856
2May 15, 2021 19:2513,275106,069,21842,481,11502,297,856
3May 15, 2021 19:2413,295101,116,93542,542,84102,285,568
4May 15, 2021 19:2413,310103,956,73442,591,88602,293,760
5May 15, 2021 19:2413,312107,273,72442,597,04502,301,952
6May 15, 2021 19:2513,317101,783,91742,615,43502,183,168
7May 15, 2021 19:2513,334112,889,09942,668,54902,293,760
8May 15, 2021 19:2513,416138,202,24442,930,53302,297,856
9May 15, 2021 19:2513,445113,486,19343,025,26702,179,072