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 17, 2023 23:20Dmitry GruntovDmitry GruntovScore: 1,194,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 23:201,192,7633,869,193,4023,816,840,98602,256,896
2Jun 17, 2023 23:201,194,2733,894,409,6743,821,674,61302,232,320
3Jun 17, 2023 23:201,202,1073,924,210,7343,846,741,57002,236,416