Solution idea needed for solving a LCA/RMQ Categorized problem on LightOJ.

Revision en1, by i_am_eating_wa_and_tle, 2017-10-19 17:35:17

Problem link: http://lightoj.com/volume_showproblem.php?problem=1359

For PDF click here

I think this is a very interesting problem. It is a LightOJ problem and catagorized under LCA/RMQ. What can be the solution idea for this problem? I can't find one, please help.

Tags lca/rmq

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English i_am_eating_wa_and_tle 2017-10-19 17:35:17 509 Initial revision (published)