SUDOKU SOLVER BACKTRACKING

Can you please check , what is the problem in the above code?

hello @CODER_JATIN

dont print extra cout statments online judge will give wa.

check output format and print only those things that are asked to print

BHAIYA , i was doing this on offline compiler for my understanding , but it is not working.

what input u r giving

BHAIYA , I’m giving (n) and inout array.

Please check y code, there is some problem there.

in line 56 it should be
j==n+1

Now also , it is not working bhaiya.

@CODER_JATIN
it is working , i have submited it on hackerblocks, it worked for all cases.

image

Okay , I’m checking again.

Okay bhaiya , now done , thank you:)