11 teams scored 130 points on this task, for a maximum score of 30, an average score of 12 and a median score of 10.
Stefan is a big football fan! He just read about some past competitions where teams are divided into groups, and each team plays against every other team in its group twice. A team is awarded three points for a win, one point for a draw and zero points for a loss. Given the final standings of T groups, help Stefan find out whether there is a unique way of assigning the results for each match such that we end up having the final standings given. However, since the data can be faulty, there can also be a chance that the standings of some groups are not valid, so you will also have to help Stefan find them out. In particular, the teams in the standings of each group are given in decreasing order of points, and if two or more teams have the same number of points, they are ordered in decreasing order of wins...