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 18:18Dmitry GruntovDmitry GruntovScore: 70,127Success
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 18:1869,999292,442,256223,997,96402,228,224
2Jun 17, 2023 18:1870,127287,396,735224,407,73302,236,416
3Jun 17, 2023 18:1870,518291,164,698225,659,13102,232,320