Tilling Problem - II Code not showing any output on submitting

I am submitting trying to submit my code(link:https://ide.codingblocks.com/s/101664), but it’s not showing any output whether my code is right or wrong or which test cases have failed(if any).

hey @akshatbaranwal654, logic is correct thatswhy one of the testcases gets corrected. Problem is with time limit, Constraints are high and time is less. I suggest you to do this with dynamic programming.