updation

the permutation, be careful with the range of the indices ,
which waste me a lot of time.