[UVA] 10714 - Ants
Problem B: Ants
An army of ants walk on a horizontal pole of length l cm,
each with a constant speed of 1 cm/s. When a walking ant reaches an
end of the pole, it immediatelly falls off it. When two ants meet
they turn back and start walking in opposite directions. ...