I don't think this was linear programming. Basically, all you need to know
is that with all the velocities constant, the center of mass will move at
the average of the velocities, a straight line. It's not going to curve or
anything. Then, you need to know how to find the closest point on this ray
(since we're only interested in t>=0) to the origin and that's about all.
You only need a simple calculation and it's also really fast.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to