https://ide.codingblocks.com/s/64958
only one test case passed
Tiling problem123
Hi AASTHA, it is given that you have to print your ans%10^9 + 7. This is because your ans will be large.
And if your answer is large then it will also be large where it has been obtained. i.e. in Line 11 of your code.
so you must use the %10^9 + 7 in line 11 also.
Rest is fine.
This will make your code work
Hey Aastha, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.