Painter problem

why my code is not working

Hello @nimit_jain please share your code by saving it on ide.codingblocks.com .

@nimit_jain what is the problem that you are facing with your code?
is it failing test cases?

Hello @nimit_jain this is the correct code :


if you have any doubt you can ask here:
Happy Learning!!