Array Stabilization (AND version)

Problem Name:
Array Stabilization (AND version)
Site:CodeForces
Links:
Tags:
Problem setters: