Комментарии
На l-_-l → Codeforces Round 1013 (Div. 3) Editorial, 19 месяцев назад
0

How did you deduce the necessary formula?