Disclaimer: The content might only be beneficial for people with rating less than 1600
Today, I want to share with you a very cool thing I learned in Problem C in the last Div.3 contest.
Prerequisite: Please read the problem if you haven't already.
I prepared a 13 minutes video on youtube to show you what I learned, and hopefully you will learn something too.
Enjoy the video!