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...