Hello everyone! I am beginner and i hope you will help me. I was solving "Waffle Choppers" from Google Code Jam 2019 Round 1A and i got MLE but i don't understand why. I hope you will help me. My code : https://pastebin.com/uGFEEhQe And arrangements on some variables : 2 ≤ R ≤ 100. 2 ≤ C ≤ 100. 1 ≤ H < R. 1 ≤ V < C. Thanks a lot!