Hi, I am trying to solve this question using floyd warshall's algorithm. vacation.cc (1.5 KB)
Can someone please give me a hint on how to solve this question?