Diferente pentru problema/traseu4 intre reviziile #5 si #4
Nu exista diferente intre titluri.
Diferente intre continut:
* $1 ≤ N ≤ 500$ * $1 ≤ M ≤ 500$ * Pentru teste in valoare de $40$ de puncte, $N ≤ 50$ şi $M ≤ 50$
* $10$ puncte sunt din oficiu:corespund unor teste egale cu primul exemplu.
* $10$ puncte sunt din oficiu -- corespund unor teste egale cu primul exemplu.
h2. Exemplu
