C. Little Girl and Maximum Sum Codeforces Round #169 (Div. 2)

NoSuchKey