A set of teams held a round-robin tournament in which every team played every other team exactly once. Every team won $10$ games and lost $10$ games; there were no ties. How many sets of three teams $\{A, B, C\}$ were there in which $A$ beat $B$, $B$ beat $C$, and $C$ beat $A? $ $\textbf{(A)}\ 385 \qquad \textbf{(B)}\ 665 \qquad \textbf{(C)}\ 945 \qquad \textbf{(D)}\ 1140 \qquad \textbf{(E)}\ 1330$
Each team played $20$ games, so there are $21$ teams and $\binom{21}3=1330$ sets of three teams.
A set that is not a cycle has a team that beat both others. For each team, the number of such sets is $\binom{10}2=45$ (choose $2$ of the $10$ teams it beat), and each non-cyclic set is counted exactly once.
So there are $1330-21\cdot45=1330-945=385$ cyclic sets.
In a round-robin tournament every team played every other team exactly once, and every team won $7$ games and lost $7$ games. How many sets of three teams $\{A,B,C\}$ are there in which $A$ beat $B$, $B$ beat $C$, and $C$ beat $A$?