Suppose there is a river of width 100 feet. Both swimmers swim at the same speed of 5 ft per second. The river is flowing at a rate of 3 feet per second.
Both swimmers start at the same point.
Swimmer A: swims to a point directly across on the opposite side, then turns around and swims back to the starting point.
Swimmer B: stays on one side of the river, and swims upstream a distance exactly equal to the width of the river, then swims back to the starting point.
Which swimmer wins the race and why?