Dijkstra: Shortest Reach 2

  • + 1 comment

    I am not very comfortable with printf() and scanf(). I don't know when to keep spaces between format-specifiers in scanf(), and when not to keep. Also, I want to know what could go wrong while using cin and cout.

    I just submitted your code and got all test cases correct. AvimanyuSingh