Search found 429 matches
- Fri Aug 17, 2007 9:21 am
- Forum: Volume 111 (11100-11199)
- Topic: 11176 - Winning Streak
- Replies: 18
- Views: 12726
Apart from solving this problem case by case by substituting the value of p in an early stage, we can also solve the general cases: the answer for a certain length l, A(l), can be expressed as a polynomial in p. If my hand calculations are right, the first four polynomials are: A(1) = p A(2) = 2p A...
- Wed Mar 07, 2007 10:04 am
- Forum: Volume 111 (11100-11199)
- Topic: 11187 - Water Crisis
- Replies: 12
- Views: 5246
- Wed Mar 07, 2007 9:35 am
- Forum: Volume 111 (11100-11199)
- Topic: 11187 - Water Crisis
- Replies: 12
- Views: 5246
Quite similar to a problem named Bookcase in this years NWERC, but a bit more time hungry. Yeah, my solution was almost the same as my solution for Bookcase, with the same optimisations: keep track of which entries of the matrix are filled, prune away entries which can never improve upon the best s...
- Tue Feb 20, 2007 1:37 am
- Forum: Volume 111 (11100-11199)
- Topic: 11167 - Monkeys in the Emei Mountain
- Replies: 30
- Views: 15414
- Tue Feb 20, 2007 1:21 am
- Forum: Volume 111 (11100-11199)
- Topic: 11167 - Monkeys in the Emei Mountain
- Replies: 30
- Views: 15414
How about the following fix to mf's greedy algorithm: instead of choosing m.b as small as possible, first choose m.b-m.v as small as possible, and if there are several possible choices, choose m.v as large as possible. The intuition for the first criterion is that m.b-m.v is a more accurate measure ...
- Fri Feb 16, 2007 5:46 pm
- Forum: Algorithms
- Topic: a problem from TIMUS
- Replies: 3
- Views: 2283
No. The problem is very similar to (but perhaps even messier than) http://acm.uva.es/p/v105/10572.html which I solved the way you described.misof wrote:Note that the above solution, while probably fast enough, is really nasty to implement. Anyone with a better idea?
- Wed Jan 24, 2007 10:09 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11163 - Jaguar King
- Replies: 17
- Views: 10308
Re: 11163 Jaguar King
I used IDA* search. The judge I/O is very kind, there are many cases where my solution is hopelessly slow.paulmcvn wrote:Could anyone give me an idea for this problem?
- Wed Jan 24, 2007 10:06 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11157 - Dynamic Frog
- Replies: 22
- Views: 13997
Am I the only one here who used DP (complexity O(n^3)) ? I find the problem very similar to the 'round-trip trough canada'-problem, for those who know what I mean. Basically the idea is as follows. I also did DP (with the same state space as you), but it ended up being just one recursive call for e...
- Mon Jan 22, 2007 8:49 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11156 - Continuous Drawing
- Replies: 10
- Views: 5403
- Mon Jan 22, 2007 4:41 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11156 - Continuous Drawing
- Replies: 10
- Views: 5403
- Wed Dec 13, 2006 1:49 am
- Forum: Bugs and suggestions
- Topic: PE issues
- Replies: 11
- Views: 4960
Re: PE issues
Great! My list of solved problems is shorter by 60 in one swoop! If only FIFA had the same rejudging policy for their tournaments, Holland would become World Champion for 1978, for sure! Hmm, was this announced somewhere? I can't recall having received a mail about it, and I can't see it mentioned ...
- Wed Nov 22, 2006 10:56 pm
- Forum: Volume 120 (12000-12099)
- Topic: 12096 - The SetStack Computer
- Replies: 8
- Views: 4452
- Mon Oct 23, 2006 11:16 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11131 - Close Relatives
- Replies: 8
- Views: 3281
I'm sorry. I've re-re-read the problem statement, and it's getting clearer. So I'm suppose to give the minimum amount of lists that would allow the unambiguous reconstruction of the tree?[/list] Yes. Note that any set of lists you give will either uniquely define a tree or be invalid because it def...
- Mon Oct 23, 2006 10:51 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11131 - Close Relatives
- Replies: 8
- Views: 3281
- Mon Oct 23, 2006 10:46 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11119 - Chemical Attraction
- Replies: 19
- Views: 8512
I remember that last year during the coaches' meeting at the World Finals, Bill Poucher announced that from now on, all regional contests must publish their data. If by "must" you mean "should", and by "publish" you mean "send to Miguel so he can put the problem in the live archive", then we rememb...