Painter prob.,failing all the test cases


All the test cases are failing.but i am getting correct output at compile time .

I have edited your code… Try to submit it now…

Thank you for your help

Hi @guptarahul3100,
please mark the doubt as resolved if u feel it has been resolved.
else if u still hv any doubt, feel free to post them here