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 22:04Andrey TsvetkovAndrey TsvetkovScore: 5,633Success
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 22:045,59242,723,23316,899,000994,0002,437,120
2Sep 4, 2021 22:045,59239,766,50115,906,0001,988,0002,428,928
3Sep 4, 2021 22:045,60449,721,02216,936,000996,0002,441,216
4Sep 4, 2021 22:045,60445,130,31116,936,000996,0002,437,120
5Sep 4, 2021 22:045,60846,024,46115,951,0001,993,0002,441,216
6Sep 4, 2021 22:045,62447,840,42915,997,0001,999,0002,433,024
7Sep 4, 2021 22:045,63344,050,72417,023,0001,001,0002,437,120
8Sep 4, 2021 22:045,63448,711,83316,025,0002,003,0002,437,120
9Sep 4, 2021 22:045,64143,626,62516,046,0002,005,0002,441,216
10Sep 4, 2021 22:045,64771,154,60618,069,26202,269,184
11Sep 4, 2021 22:045,73088,487,69418,335,91302,260,992
12Sep 4, 2021 22:045,77484,223,12718,478,09902,273,280