Diferente pentru problema/algoritm intre reviziile #48 si #49
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Restricţii si Precizari
* <tex>T</tex> = <tex>5</tex>
* <tex>1</tex> ≤ <tex>N</tex> ≤ <tex>10^5^</tex> * <tex>1</tex> ≤ <tex>M</tex> ≤ <tex>2*10^5^</tex> * <tex>1</tex> ≤ costul unei muchii ≤ <tex>10^6</tex>