Need Help with SPOJ ORDERSET (using Treap)

Правка en1, от pizza_hot, 2016-10-28 22:03:47

Hi !

I 'm trying to solve This problem using Treap (After i read this great blog) but I'm getting wrong answer ,the example is right but I don't know where the bug is ,here's my code can someone tell me what's wrong :/ ?

sorry for my bad English and thanks in advance...

Теги treap, treaps, debug, advanced data structure, data structures, spoj

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pizza_hot 2016-10-28 22:03:47 466 Initial revision (published)