dijkstra printf changed