help in a graph problem(bfs)

Revision en1, by abdallah_youssef, 2021-05-21 18:22:38

i don't know how to solve this problem even after i read the editorial, i just understand the bfs part https://codeforces.net/problemset/problem/1037/D

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English abdallah_youssef 2021-05-21 18:22:38 184 Initial revision (published)