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 listJun 19, 2023 15:49Dmitry GruntovDmitry GruntovScore: 26,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 15:4926,336143,499,68284,275,82802,236,416
2Jun 19, 2023 15:4026,358143,830,98084,345,62902,224,128
3Jun 19, 2023 15:4026,371147,446,25384,386,55802,248,704
4Jun 19, 2023 15:4926,375145,647,71584,399,92402,224,128
5Jun 19, 2023 15:4926,412141,160,86484,517,15502,232,320
6Jun 19, 2023 15:4026,583141,520,43685,065,01602,232,320