TLE in Problem E ( 731 Div3)

Revision en1, by _its.abhinav_, 2021-07-11 12:05:25

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

Tags #div3, #bfs, #graph, #tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _its.abhinav_ 2021-07-11 12:05:25 322 Initial revision (published)