Pagini recente »
Diferențe pentru problema/profit între reviziile 4 și 3
Nu există diferențe între titluri.
Diferențe între conținut:
h2. Date de intrare
Fișierul de intrare $profit.in$ conține un număr întreg $N$ reprezentând numărul de orașe din Olymliland. Fiecare din următoarele $N - 1$ linii, conține două numere întregi pozitive, separate prin spații, reprezentând
lines contains two different space separated positive integers not greater an N
–
the couples of towns, which are directly connected by road.
The next line contains the positive integer
M
–
the length of the transportation routes list.
Each of the next
M
l
ines contains three space separated positive integers: the numbers of the
two towns, defining the route, and the profit of its realization.
Fișierul de intrare $profit.in$ ...
h2. Date de ieșire
Nu există diferențe între securitate.