Need help in hard data-structure problem!!!
Ladies and Gentlemen, please help me -> problem.
Codeforces Edu Round 190 (Div 2) — Solution Discussion