problem in order

Revision en2, by haj.s, 2016-02-25 16:47:09

http://www.codeforces.com/contest/208/submission/16330070 this code is (n log n) but time limit happen and i don't know resolve it. it is very amazing i asked from four gold medal and non of them can't understand why

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English haj.s 2016-02-25 16:47:09 66
en1 English haj.s 2016-02-25 16:23:51 167 Initial revision (published)