RuntimeError with a Dijkstra problem

Revision en1, by EbraM96, 2017-10-20 09:12:57

http://codeforces.me/gym/100495/problem/A

I don't know why this code produces a RTE!

Solution

Could any one please help me find the problem with it?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English EbraM96 2017-10-20 09:12:57 224 Initial revision (published)