Diferente pentru problema/gugustiuc intre reviziile #30 si #31
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Restricţii * $1 ≤ N, Q ≤ 500 000$
*&1 ≤$ <tex> ${a}_{i}$ </tex> $≤ 2$
* $1 ≤$ <tex> ${a}_{i}$ </tex> $≤ 2$
h2. Exemplu