Diferente pentru problema/minperm intre reviziile #6 si #7
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Date de intrare
Fişierul de intrare $minperm.in$ ...
The first line of the input file $minperm.in$ contains $n$ and $k$. The second line of the input contains $n$ integers, representing the initial order of the attractions. The third line of the input contains $k$ integers, representing the $k$ available swap plans.
h2. Date de ieşire
