E-Olymp BFS problem

Revision en1, by Virtual_Contestant, 2020-05-21 19:20:51

Can anyone please explain me the problem? i have been trying hard to understand this. https://www.e-olymp.com/en/contests/16462/problems/170299 the asked for maximum distance so in their second testcase isn't from 4 to 5 the distance is minimum?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Virtual_Contestant 2020-05-21 19:20:51 265 Initial revision (published)