Mukit09's blog

By Mukit09, 11 years ago, In English

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

Tags bfs
  • Vote: I like it
  • 0
  • Vote: I do not like it