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

Автор Mukit09, 11 лет назад, По-английски

I'm getting WA in UVA 949 My code link is given here. Please help... :(

Would someone please give me some test cases for which my code is failed ???

// mat[][][][] is for checking if I can go from (x1,y1) to (x2,y2)

// ve[][] is for storing time in which I can't stay in (x,y)

// cst[][] is for calculating cost

Теги bfs
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится