Hey everyone, I was recently trying to solve BOI 2009's Beetle. I came across the editorial and I understand the transitions except for the part on how to start the transitions (what i and j should start with for the simplest subproblem). I tried looking around for C++ code to this problem and couldn't find any. Does anyone have code they can share or help me out with how to start the transitions?