Diferente pentru problema/gugustiuc intre reviziile #31 si #30
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