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 1329. Galactic History

I want to know if there's other ways to solve the problem besides LCA
Posted by Fat Peter 19 Feb 2005 19:04
You do not need LCA to solve it.....
Posted by ronobe (aka oberon) 19 Feb 2005 20:02
Mine algo does not use LCA, however it has time complexity O(V) for preprocessing and O(1) for querys. It is a lot easier than LCA...

If you want to know more, you can drop me a mail to:
oberon [at] verba [d0t] com [d0t] ua

Replace [at] by @, and [d0t] by .;
I have sent a reply for your mail.
Posted by ronobe (aka oberon) 20 Feb 2005 20:07
Firstly I have sent it and it returned =(
Secondly I have sent it again and it was returned once again =((
The third time I have sent it from different addresse and It have not returned yet. I hope it will reach you soon...

If you won't recieve that email, drop a few words here (to the web-board) and we will think about different ways of communication =)...
Re: I have sent a reply for your mail.
Posted by Fat Peter 23 Feb 2005 08:24
Unfortunately,I must say that I didn't receive your E-mail
:'(

Did you have msn?
Thats really said :'(
Posted by ronobe (aka oberon) 24 Feb 2005 04:09
I have tried once more...

I think moderators will forgive me for posting idea here:
-----------------
idea was here =)
-----------------

BTW. I do not have MSN... Let me know when you will read this, so I could clean up the forum...

Edited by author 25.02.2005 18:21
Re: Thats really said :'(
Posted by Fat Peter 25 Feb 2005 14:50
I've read it..I think it's a wonderful idea..You can clean it...Thank yor for your help.

Edited by author 25.02.2005 14:52
Re: Thats really said :'(
Posted by ronobe (aka oberon) 25 Feb 2005 18:20
Where is edit button?
Re: Thats really said :'(
Posted by ahyangyi_newid 5 Apr 2006 15:18
Could u tell me the method? I also want to know. Pls send to ahyangyi@gmail.com or ahyangyi2@hotmail.com, thank you
Re: Thats really said :'(
Posted by Vedernikoff Sergey 17 Jan 2007 14:47
IMHO, the simplest way to solve it - skip lists. Simplest 2-level skip-lists gives time complexity for any query O(logN) and O(NlogN) for precalc. AC ~ 0.45 secs.