Wentao Wang's submission of Across the River | CodeChef