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 27, 2021 22:46gchebanovgchebanovScore: 5,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:465,32241,542,08515,027,0002,003,0002,265,088
2Jun 27, 2021 22:465,32842,167,38216,048,0001,003,0002,502,656
3Jun 27, 2021 22:465,34039,057,34015,078,0002,010,0002,265,088
4Jun 27, 2021 22:465,34140,679,72016,085,0001,005,0002,265,088
5Jun 27, 2021 22:465,34543,184,49515,091,0002,012,0002,265,088
6Jun 27, 2021 22:465,34539,943,92315,093,0002,012,0002,265,088
7Jun 27, 2021 22:465,36649,808,32416,162,0001,010,0002,527,232
8Jun 27, 2021 22:465,37143,065,72516,177,0001,011,0002,265,088
9Jun 27, 2021 22:465,38843,034,56316,226,0001,014,0002,387,968
10Jun 27, 2021 22:465,53162,679,96217,698,65902,285,568
11Jun 27, 2021 22:465,53596,362,77517,711,63902,273,280
12Jun 27, 2021 22:465,56579,480,29317,808,53602,281,472