Help Needed, RECURSION Sucks

Правка en2, от alt_1234AA, 2022-07-01 21:01:16

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

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.

Теги help me, tle

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский alt_1234AA 2022-07-01 21:01:16 11 Tiny change: '41, I was Black and' -> '41, I was supsolving Black and'
en1 Английский alt_1234AA 2022-07-01 21:00:26 487 Initial revision (published)