Diferente pentru problema/painting intre reviziile #4 si #5
Nu exista diferente intre titluri.
Diferente intre continut:
* $1 ≤ N, M ≤ 10^5^$ * $1 ≤ Culoarea unu nod ≤ 10^4^$
| h3. Explicaţie
h2. Exemplu table(example). |_. painting.in |_. painting.out | | 7 5 1 2 1 3 2 4 2 5 4 6 3 7 2 7 4 5 3 9 5 4 2 4 | 1 |
... == include(page="template/taskfooter" task_id="painting") ==
== include(page="template/taskfooter" task_id="painting") ==