Batman_love_dp's blog

By Batman_love_dp, history, 3 years ago, In English

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

Tags bfs
  • Vote: I like it
  • +1
  • Vote: I do not like it