1046_shortest_distance.cc OK!