Sparse-table

sparse-tables

#1

https://www.codechef.com/viewsolution/23941416
i cant seem to find my mistake in this question. i used sparse table . please help!