A completely solved ship was found, even though it was not bounded on both sides by water or the board edge.

Example

In the above example, the ship segments (B,5)-(B,8) obviously comprise a battleship (because a battleship is the largest ship possible on a 10x10 board). Therefore, the squares (B,5) and (B,8) are left and right ship segments, respectively.