All test cases falied


painter problem
do not give me the other correct code, please correct this code .

@aman212yadav bhai painter’s problem bohot time se solve nhi ho rhi

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

thank u soo much …

  1. long long int ki kya zarurat thi ??

  2. ek baar mere code m point krke batao na kaha mistake tha kyunki jitne bhi input mene daale sabke toh sahi answer de rha tha

Long long int is basically for large test cases…
Also… the lines which I have changed… I have added changed… Pls refer to this edited code only…