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:01Dmitry GruntovDmitry GruntovScore: 45,448Success
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:0245,335225,992,820145,073,05502,224,128
2Jun 18, 2023 00:0245,353215,267,507145,128,14902,220,032
3Jun 18, 2023 00:0145,386204,468,697145,233,80502,224,128
4Jun 18, 2023 00:0145,448212,705,467145,433,42502,224,128
5Jun 18, 2023 00:0145,614210,018,461145,964,02502,232,320
6Jun 18, 2023 00:0249,442219,642,434158,215,53202,232,320