_arjun's blog

By _arjun, 12 years ago, In English

Hi,

I am having a tough time with this problem. It is looking like a simple BFS, but I am continuously getting WA. Is it really BFS or I am missing something. Please help me(If possible with a test case).

My Code

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

»
12 years ago, # |
  Vote: I like it +1 Vote: I do not like it

flag must must have 2 dimensions. The vertice of your graph is two integers (stationId, mask of used teleporters)