|
|
back to board1499 Posted by svr 19 Oct 2006 00:59 How many structures need quick solution. I worked with segments [i,j] on [1,N] and used 1: short num[50000] for quicksort of segments; 2: short prev[50000] for fathes of segments. Segment I is father of segment J if I smallest segment containing J. 3: vector<short>sons[50000] for sons of segments. Last structure very slow and I had bad Ac time 0.95. Re: 1499 Posted by @lex 18 Jan 2008 11:59 Idite na Re: 1499 Edited by author 13.08.2008 06:08 |
|
|