Yandex.Algorithm 2011: Round 2 D. Powerful array(莫队) Source will download... Yandex.Algorithm 2011: Round 2 D. Powerful array(莫队)