Help Needed, RECURSION Sucks
Difference between en1 and en2, changed 11 character(s)
Hello Codeforces, hope you are all doing good and are safe.↵

I was upsolving Starters 41, I was 
supsolving Black and White from Codechef, my code is running well in all testcases except last one.↵

Please Help me in resolving my issue : [Link](https://www.codechef.com/viewsolution/68040360)↵

Thank you in advance. Please share your approach, it would be great if it is recursive dp, I am bad at iterative dp at current situation. ↵

Thank you and have a nice day.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English alt_1234AA 2022-07-01 21:01:16 11 Tiny change: '41, I was Black and' -> '41, I was supsolving Black and'
en1 English alt_1234AA 2022-07-01 21:00:26 487 Initial revision (published)