D. Pair of Numbers Codeforces Round #209 (Div. 2)
D. Pair of Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSimon has an array a1, a2, ..., an, co