Правка en1, от hell_hacker, 2017-06-29 01:22:31

Here is the problem

Here is my solution

I keep on getting WA. In another attempt I tried to store values in map for checking duplicates(i won't insert when duplicates) but I got TLE. Can anyone help me in finding out the bug. Thanks.

Теги spoj

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский hell_hacker 2017-06-29 01:23:14 37 Tiny change: 'SRX)\n\nI keep' -> 'SRX)\n\nI tried to solve it using treaps.\n\nI keep'
en1 Английский hell_hacker 2017-06-29 01:22:31 361 Initial revision (published)