help in solving a bfs problem

Правка en1, от Batman_love_dp, 2021-11-01 23:08:20

hello everyone i am trying to practice bfs and solving this problem https://codeforces.net/contest/59/problem/E but i don't have any idea how can i modify the bfs so i can keep track of banned trips can anyone help me ? thats the code: https://ideone.com/tJ0Sqw sorry its a little messy but thats how newbies write codes anyway

Теги bfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Batman_love_dp 2021-11-01 23:08:20 362 Initial revision (published)