A ship A is moving Westwards with a speed of $10 km h^{-1}$ and a ship B 100 km South of A, is moving Northwards with a speed of $10 km h^{-1}$. The time after which the distance between them becomes shortest, is