Every team played 20 times. Since they can't play against themselves, there must be 21 teams.
Groups of 3 teams can be selected
21!/3!18! = 1330 ways
Each will have played the other during the course of the round robin.
For example, AB, BC, CA.
There are 2 general outcomes.
One player can beat each of the other two. Those two players facing off will create another winner and loser. So one team will win two, one lose two and one winning and losing one game.
Or, each team can have one win and one loss each. How many of those groups of 3 exist is the question.
In the first instance described above, one team wins twice. So, that means 2 of that team's winning games have been selected to be in the group. This can be done
10!/2!8! = 45 ways multiplied
by 21 players =
945 ways
So, subtracting 945 from 1330 = 385 ways must be the number of ways left over to describe the scenario in the question
Trying to find the answer directly rather than by subtraction seems impossible without laying out all the potential outcomes
Posted from my mobile device