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 18, 2023 00:43Dmitry GruntovDmitry GruntovScore: 47,792Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 00:4347,789215,514,292152,925,20802,228,224
2Jun 18, 2023 00:4347,792218,157,761152,935,65802,220,032
3Jun 18, 2023 00:4349,069222,625,809157,019,75002,224,128