retrieving a floating object dropped into a river while canoeing

This is a very famous problem, worded in various ways. It is problem #6.41 in a certain book of problems, in which it is called the problem of ‘Feynman’s hat’.
Here is the link to the book (pdf file).
keywords: Physics, Mathematics, practice problems