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 listSep 4, 2021 21:39Andrey TsvetkovAndrey TsvetkovScore: 5,987Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:395,94249,916,62217,012,0002,001,0002,338,816
2Sep 4, 2021 21:395,94244,606,12217,014,0002,001,0002,338,816
3Sep 4, 2021 21:395,95738,442,13617,057,0002,006,0002,301,952
4Sep 4, 2021 21:395,96947,031,76517,091,0002,010,0002,301,952
5Sep 4, 2021 21:395,97542,179,04318,115,0001,006,0002,293,760
6Sep 4, 2021 21:395,98448,254,34318,142,0001,007,0002,338,816
7Sep 4, 2021 21:395,98794,448,46519,159,09902,269,184
8Sep 4, 2021 21:395,99839,335,84516,162,0003,030,0002,301,952
9Sep 4, 2021 21:396,01040,173,56417,208,0002,024,0002,334,720
10Sep 4, 2021 21:396,01842,188,48818,246,0001,013,0002,297,856
11Sep 4, 2021 21:396,05493,491,25919,373,66702,273,280
12Sep 4, 2021 21:396,14088,051,58919,647,73302,260,992