Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Need Help

Revision en1, by 5udipta, 2015-06-07 14:16:25

How can I solve this problem using RMQ or LCA algorithm?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 5udipta 2015-06-07 14:16:25 139 Initial revision (published)