|
|
|
|
|
by aqme28
1675 days ago
|
|
Reminds me of the ants-on-a-stick problem. 100 ants are spaced evenly on a 1m stick. They travel at 1m/minute. When an ant bumps into another ant, they both turn around and go the other way. When an ant reaches the end of the stick it falls off. How long before all the ants fall off? |
|
> 100 ants are spaced evenly on a 1m stick
Are the ends at the end of the line of evenly spaced ants on the very ends of the stick?
> They travel at 1m/minute.
Is each ant initially traveling? What is the initial travel direction of each traveling ant?
This matters because if the ants are all traveling in initially traveling then (assuming maximal even initial spacing) it would take 1 minute for the last ant to fall off, but if each ant were initially traveling towards the nearest end it would take about 1/2 minute.
Googling, I found almost the same problem except that the question asked was what is the minimum time that guarantees all ants will have fallen off no matter what their initial directions are.