Diferente pentru problema/ucl intre reviziile #4 si #3

Nu exista diferente intre titluri.

Diferente intre continut:

h2. Date de intrare
Input file $ucl.out$ contains on the first line $t$, the number of test cases.
 
On the first line of the input for each test you will have $n$, the number of teams playing.
 
On the next $n$ lines you will have $3$ integers, representing the number of wins, the number of draws and the number of losses the team got. The integers are *NOT* separated by spaces.
 
h2. Date de ieşire
Output file $ucl.out$ will contain $t$ lines, each of them containing the answer corresponding to that test case.
În fişierul de ieşire $ucl.out$ ...
h2. Restricţii
* $1 ≤ t ≤ 10^5$
* $2 ≤ n ≤ 4$
* For tests worth $10$ points, $n = 2$
* For tests worth $20$ more points, $2 ≤ n ≤ 3$
* For tests worth $10$ more points, $1 ≤ t ≤ 10$
* For tests worth $10$ more points, there are only valid group tables.
* $... ≤ ... ≤ ...$
h2. Exemplu

Nu exista diferente intre securitate.

Topicul de forum nu a fost schimbat.