Search found 108 matches

by Angeh
Sun Aug 30, 2009 5:06 pm
Forum: Volume 100 (10000-10099)
Topic: 10051 - Tower of Cubes
Replies: 19
Views: 8688

Re: 10051

I want to solve this problem by building a graph and running topological sort on it and then finding the longest path in the graph. now for a dense graph I get E = V^2 where V <= 6 * 500 right? (6 positions and 500 cubes maximum) so (6*500)^2 is too much space isn't? (for int array) there is anothe...
by Angeh
Sat Aug 29, 2009 8:59 pm
Forum: Volume 100 (10000-10099)
Topic: 10029 - Edit Step Ladders
Replies: 70
Views: 19406

Re: 10029 - Edit Step Ladders

Got AC By a perfect implementation of On2 LIS Algorithm
IT Doesn't need Hash or So on,pay attention what is happening in The N2 Loop :D :)
by Angeh
Fri Aug 28, 2009 10:32 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 28646

Re: 10004 - Bicoloring

Can Sombody help me with my WA!!

Code: Select all

 GoT AC --
Dont Forget The dot at the end of your Lines 

Go to advanced search