1046 Shortest Distance (20 分)(前缀和问题)

NoSuchKey