|
|
back to boardCrash (access violation) on test data 12 Posted by alkaid 30 Jun 2011 01:23 Can you help me with this, I'm getting this error on 12th test data. Thanks Re: Crash (access violation) on test data 12 Posted by Sirko 4 Aug 2011 21:39 test 12 contains large amount of intervals. I've had access violation on this test too. Expansion of your data structure should help. Re: Crash (access violation) on test data 12 Posted by Sirko 4 Aug 2011 21:43 Oh, I see :). btw this problem can be solved by simple storing sorted white intervals into array. For each new interval it takes O(log(N)) to detect set of previous interval, that have to be affected. And then - memmove (in cpp) for shifting array. That was my first solution. |
|
|