Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×

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

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

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