So who wins??
Total time for swimming up and downstream:
Total time for swimming across stream and back:
Which time is smaller?
Take ratio: T1 / T2 = ?
For race to be possible, s > v
? ? = 1 / sqrt(1 - (v/s) 2 )) > 1
Therefore, swimmer going across stream and back wins!