Originally posted by: Furyline
Ok got it to 9...
5 races of 5 horses each. Keep the top 3 from each race, section them into race 1 2 3 4 5.
Race the 5 winners from the initial races. The bottom two in that race, drop other horses in their group.
Now you have 9 horses left. Race 5, keep top 3, add in 2, keep top 3, add in 2, those top 3 are the overall top 3.
So yeah 9 races!
Nice work, this is deterministic / guaranteed, unlike DrPizza's.Originally posted by: Furyline
Ok got it to 9...
5 races of 5 horses each. Keep the top 3 from each race, section them into race 1 2 3 4 5.
Race the 5 winners from the initial races. The bottom two in that race, drop other horses in their group.
Now you have 9 horses left. Race 5, keep top 3, add in 2, keep top 3, add in 2, those top 3 are the overall top 3.
So yeah 9 races!
Originally posted by: cKGunslinger
11 is an answer, but I don't kow if it is the minimum.
Basically, you race 5, then always keep the top 3 winners and bring in 2 other horses. This takes 11 races.
edit: Yeah, what FuryLine said..
Originally posted by: Furyline
Ok got it to 9...
5 races of 5 horses each. Keep the top 3 from each race, section them into race 1 2 3 4 5.
Race the 5 winners from the initial races. The bottom two in that race, drop other horses in their group.
Now you have 9 horses left. Race 5, keep top 3, add in 2, keep top 3, add in 2, those top 3 are the overall top 3.
So yeah 9 races!
Originally posted by: Electric Amish
Originally posted by: cKGunslinger
11 is an answer, but I don't kow if it is the minimum.
Basically, you race 5, then always keep the top 3 winners and bring in 2 other horses. This takes 11 races.
edit: Yeah, what FuryLine said..
You can't guarantee that any of the horses in the next race(s) are faster than the slowest 2 that you eliminated in the first race...
It works since you're only looking for 3. The first five races are each separate groups (1-5, 6-10, 11-15) and you drop the 2 slowest from that group. You're left with 3 from each group = 15.Originally posted by: Electric Amish
edit: Yeah, what FuryLine said..
You can't guarantee that any of the horses in the next race(s) are faster than the slowest 2 that you eliminated in the first race...
Originally posted by: DaveSimmons
Nice work, this is deterministic / guaranteed, unlike DrPizza's.Originally posted by: Furyline
Ok got it to 9...
5 races of 5 horses each. Keep the top 3 from each race, section them into race 1 2 3 4 5.
Race the 5 winners from the initial races. The bottom two in that race, drop other horses in their group.
Now you have 9 horses left. Race 5, keep top 3, add in 2, keep top 3, add in 2, those top 3 are the overall top 3.
So yeah 9 races!
Originally posted by: MAME
I got 7
anyone get lower? what's the answer?
Originally posted by: DrPizza
Another quick solution, if you're looking for a guarantee (edit: I think this actually is the minimum # of races possible, unless some weird if-then strategy yields 6 races)
Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Now for the playoffs.
Top horse from each race in the first playoff
(this is race 6)
whichever horses finish 4th and 5th in that race, you don't have to consider them or the other horses in their first races... you've eliminated a total of 6 more horses... the field has been narrowed to 9.
For the horse that came in 3rd, you don't have to consider the other two horses that haven't been eliminated from its first race
You're down to 7 horses. AND, you don't have to consider the 3rd place finisher of the first race with the horse that came in 2nd; down to 6 horses.
So, what you have left, after 6 races, is
the winner of the 6th race, plus the two horses that finished behind it in the preliminaries
the 2nd place of the 6th race, plus the one horse that finished behind it in the preliminaries,
plus the 3rd place in the 6th race.
You only need one more race to determine the top 3.
Therefore, 7 races total.
Originally posted by: chuckywang
Originally posted by: DrPizza
Another quick solution, if you're looking for a guarantee (edit: I think this actually is the minimum # of races possible, unless some weird if-then strategy yields 6 races)
Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Now for the playoffs.
Top horse from each race in the first playoff
(this is race 6)
whichever horses finish 4th and 5th in that race, you don't have to consider them or the other horses in their first races... you've eliminated a total of 6 more horses... the field has been narrowed to 9.
For the horse that came in 3rd, you don't have to consider the other two horses that haven't been eliminated from its first race
You're down to 7 horses. AND, you don't have to consider the 3rd place finisher of the first race with the horse that came in 2nd; down to 6 horses.
So, what you have left, after 6 races, is
the winner of the 6th race, plus the two horses that finished behind it in the preliminaries
the 2nd place of the 6th race, plus the one horse that finished behind it in the preliminaries,
plus the 3rd place in the 6th race.
You only need one more race to determine the top 3.
Therefore, 7 races total.
You got it down to 6 horses with 6 races. How do you determine the top 3 from just one race?
Originally posted by: TheNinja
Originally posted by: chuckywang
Originally posted by: DrPizza
Another quick solution, if you're looking for a guarantee (edit: I think this actually is the minimum # of races possible, unless some weird if-then strategy yields 6 races)
Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Now for the playoffs.
Top horse from each race in the first playoff
(this is race 6)
whichever horses finish 4th and 5th in that race, you don't have to consider them or the other horses in their first races... you've eliminated a total of 6 more horses... the field has been narrowed to 9.
For the horse that came in 3rd, you don't have to consider the other two horses that haven't been eliminated from its first race
You're down to 7 horses. AND, you don't have to consider the 3rd place finisher of the first race with the horse that came in 2nd; down to 6 horses.
So, what you have left, after 6 races, is
the winner of the 6th race, plus the two horses that finished behind it in the preliminaries
the 2nd place of the 6th race, plus the one horse that finished behind it in the preliminaries,
plus the 3rd place in the 6th race.
You only need one more race to determine the top 3.
Therefore, 7 races total.
You got it down to 6 horses with 6 races. How do you determine the top 3 from just one race?
In the final #7 race you don't have to race the horse that won his initial heat plus the first playoff (race#7) heat b/c he's automatically in the top 3....or am I mistaken?
Isn't there a problem where the 2 slower horses say from race #1 could be faster than the entire set of 5 from a different race? So you can't just eliminate the 10 'slowest' without some kind of rematch, right?Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Originally posted by: chuckywang
Originally posted by: DrPizza
Another quick solution, if you're looking for a guarantee (edit: I think this actually is the minimum # of races possible, unless some weird if-then strategy yields 6 races)
Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Now for the playoffs.
Top horse from each race in the first playoff
(this is race 6)
whichever horses finish 4th and 5th in that race, you don't have to consider them or the other horses in their first races... you've eliminated a total of 6 more horses... the field has been narrowed to 9.
For the horse that came in 3rd, you don't have to consider the other two horses that haven't been eliminated from its first race
You're down to 7 horses. AND, you don't have to consider the 3rd place finisher of the first race with the horse that came in 2nd; down to 6 horses.
So, what you have left, after 6 races, is
the winner of the 6th race, plus the two horses that finished behind it in the preliminaries
the 2nd place of the 6th race, plus the one horse that finished behind it in the preliminaries,
plus the 3rd place in the 6th race.
You only need one more race to determine the top 3.
Therefore, 7 races total.
You got it down to 6 horses with 6 races. How do you determine the top 3 from just one race?
EDIT: BTW, OP. What job were you applying for?
Originally posted by: Yo Ma Ma
Isn't there a problem where the 2 slower horses say from race #1 could be faster than the entire set of 5 from a different race? So you can't just eliminate the 10 'slowest' without some kind of rematch, right?Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Originally posted by: Yo Ma Ma
Isn't there a problem where the 2 slower horses say from race #1 could be faster than the entire set of 5 from a different race? So you can't just eliminate the 10 'slowest' without some kind of rematch, right?Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Originally posted by: Yo Ma Ma
Isn't there a problem where the 2 slower horses say from race #1 could be faster than the entire set of 5 from a different race? So you can't just eliminate the 10 'slowest' without some kind of rematch, right?Start with 5 races. Each horse races in one of these.
obviously, the 4th and 5th place horses from each race are no longer in contention... 10 horses eliminated.
Originally posted by: DrPizza
Originally posted by: MAME
I got 7
anyone get lower? what's the answer?
I got 7 and beat you by seconds!
PLUS I typed it all out!
