Diferente pentru problema/plaja2 intre reviziile #13 si #11
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Restricţii * $1 ≤ N ≤ 10^9^$
* $1 ≤ K ≤ 10^5^$
* $1 ≤ K ≤ 10^5$
* $1 ≤ t{~1~} , t{~2~} ... t{~K~} ≤ 10^5^$
* $1 ≤ z{~1~} < z{~2~} < ... < z{~k~} ≤ N$
* $1 ≤ T ≤ 1000000$
table(example). |_. plaja2.in |_. plaja2.out | | 3 1 3
1 2
1 2
| 8 | | 5 2 11
2 2 4 5
2 24 5
| 16 | h3. Explicaţie
