mr_zodiac's blog

By mr_zodiac, history, 2 months ago, In English

I was solving the problem A.Domino Pilling ( and i did get the correct answer by printing out (m*n)/2. but then i was trying to solve it by recursion but i got an incorrect answer on a test case it worked fine with most of the test cases but when i tried 3x6 i got an incorrect answer. I cannot figure out whats wrong with the recursion solution. Please help me figure out. Thank you

This is the link for the solution

  • Vote: I like it
  • 0
  • Vote: I do not like it