What is wrong with this code?

Hi, can anyone please tell me whats wrong in this code.

Problem -> chefck.
I am trying to use Sparse Table in matrix “st[log(n)][n]”. Using ‘1’ based indexing.

Thanks.