CodeForces - 359D
Simon has an array a1, a2, ..., an, consisting ofn positive integers. Today Simon asked you to find a pair of integersl, r (1 ≤ l ≤ r ≤ n), such that the following conditions hold:there is int