Problem

Source:

Tags: combinatorics



$n$ teams participated in a basketball tournament. Each team has played with each team exactly one game. There was no tie. If in the end of the tournament the $i$-th team has $x_{i}$ wins and $y_{i}$ loses $(1\leq i \leq n)$ prove that: $\sum_{i=1}^{n} {x_{i}}^2=\sum_{i=1}^{n} {y_{i}}^2$