結果 : minimum maximum on the path codeforces