Блог пользователя Batman_love_dp

Автор Batman_love_dp, история, 3 года назад, По-английски

hello everyone i am trying to practice bfs and solving this problem https://codeforces.com/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
  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится