Debug this code

hello @siddhant_samal
u have doubt in tiling problem?

sorry https://ide.codingblocks.com/s/364846

@siddhant_samal

why are u taking max in input?
image
here use 0 in place of max , it will work

done that but getting error again ,try giving input https://ide.codingblocks.com/s/364846

check now ->

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.