E - Escape from the Island(最短路+dp)

NoSuchKey