Why am I getting TLE in DIFERENC SPOJ problem?

Revision en1, by harrypotter0, 2018-12-18 14:10:23

Hi there, I am trying to solve a problem with sparse table, I am getting TLE on this problem.

Here is what I tried.

Thanks in advance.

Tags #spoj, #help, sparse table, #binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English harrypotter0 2018-12-18 14:10:23 259 Initial revision (published)