Piyush and magical park


2 test cases are getting failed, please help me figure out.

Hi,

There are n rows and m coloumns. But in loop you have taken n coloumns. Now, try to solve.

1 Like