the index pre [ li-1 ] [ bj ] and pre [ bi ] [ lj-1 ] will not exist as li=0 and lj=0;
and we know pre [ -1 ] [ bj ] and pre [ bj ] [ -1 ] does not exist.
and even I tried to run the same program and the output comes out to be wrong.
the index pre [ li-1 ] [ bj ] and pre [ bi ] [ lj-1 ] will not exist as li=0 and lj=0;
and we know pre [ -1 ] [ bj ] and pre [ bj ] [ -1 ] does not exist.
and even I tried to run the same program and the output comes out to be wrong.