ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1499. Kerchiefs

1499
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
Posted by Denis Koshman 13 Aug 2008 05:55


Edited by author 13.08.2008 06:08