I couldn't improve on ${6 \choose 3}-1=19$. You don't have to try the last combination because if you haven't found the three good ones yet it must be that.
I couldn't improve on ${6 \choose 3}-1=19$. You don't have to try the last combination because if you haven't found the three good ones yet it must be that.