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 listDec 10, 2023 23:28Adam LeszczyńskiAdam LeszczyńskiScore: 40,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 10, 2023 23:2840,335191,742,688129,072,35902,293,760
2Dec 10, 2023 23:2840,343193,097,963129,097,67002,297,856
3Dec 10, 2023 23:2840,350191,043,135129,120,54102,289,664