VK2012-ProblemE
https://codeforces.com/problemset/problem/212/E Please help me with this.
Atcoder ABC #354 Solution Discussion
Interview with orz | IMO Gold Medalist, ICPC World Finalist, IGM in CF