It's a minimized code based on my segment tree solution for 877E - Данил и подработка. I got RE during the contest and cannot figured out why. Can anyone reproduce the bug and paste the generated assembly? I cannot reproduce the crash on my Mac/Linux machine...QQ