Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

danhnguyen0902's blog

By danhnguyen0902, 13 years ago, In English

Could someone please help me to know how to use Splay Tree / Treaps / Link-cut Tree to do this problem? I tried to google it, but nothing helpful was found. Thanks a lot in advance!

  • Vote: I like it
  • +3
  • Vote: I do not like it

| Write comment?
»
13 years ago, hide # |
← Rev. 3  
Vote: I like it 0 Vote: I do not like it

"implicit" cartesian tree . one more link. googled code