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 3, 2021 01:34Yuriy LyfenkoYuriy LyfenkoScore: 5,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 01:345,122537,876,73614,342,0002,048,0002,273,280
2Jun 3, 2021 01:345,133537,500,40415,398,0001,026,0002,273,280
3Jun 3, 2021 01:345,140539,878,33116,449,00002,281,472
4Jun 3, 2021 01:345,143539,893,10316,459,00002,281,472
5Jun 3, 2021 01:345,144538,711,70616,462,00002,273,280
6Jun 3, 2021 01:345,169552,830,19916,540,00002,273,280
7Jun 3, 2021 01:345,176547,649,31415,527,0001,035,0002,273,280
8Jun 3, 2021 01:345,182543,461,83215,546,0001,036,0002,269,184
9Jun 3, 2021 01:345,185547,829,88315,555,0001,037,0002,269,184
10Jun 3, 2021 01:345,294574,496,04616,942,36702,285,568
11Jun 3, 2021 01:345,304571,919,05516,973,75902,281,472
12Jun 3, 2021 01:345,368581,181,34317,178,20402,285,568