Rosetta Problems
← atcoder に戻る
Min and Max at the edge
https://atcoder.jp/contests/arc181/tasks/arc181_e