Assistance for 689D

Revision en2, by miniluigi, 2016-07-08 05:07:37

I have tried to use the Sparse Table Algorithm in order to compute the RMQ in this problem. However, this ends up timing out. I thought it was O(nlogn)?

http://mirror.codeforces.com/contest/689/submission/18959912

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English miniluigi 2016-07-08 05:07:37 217
en1 English miniluigi 2016-07-08 04:38:49 407 Initial revision (published)