_its.abhinav_'s blog

By _its.abhinav_, history, 3 years ago, In English

Although I have already solved this problem by some other method, but upon implementing BFS algorithm using priority queue I am getting TLE. Kindly help me out.

solution Problem E

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Here is my solution using $$$BFS$$$ using $$$priority-queue$$$

https://mirror.codeforces.com/contest/1547/submission/122056691