You are viewing a single comment's thread. Return to all comments →
Try sys.stdin.readline() instead of input().
sys.stdin.readline()
input()
Seems like cookies are disabled on this browser, please enable them to open this website
Dijkstra: Shortest Reach 2
You are viewing a single comment's thread. Return to all comments →
Try
sys.stdin.readline()
instead ofinput()
.