The PDF version of the problemset can be downloaded here.
5 3 4 1 3 5 2 4 4 1 2 3 5
18
4 -1 0 1 2 3 4 4 3 2 1
-6
ICPC 2026 Asia Seoul Regional Problem D