題目連結如下:https://msqrt1024.github.io/TOIproblems/潛力組/202409/p2/trip (zh_TW).pdf
5 5 1 2 2 3 3 4 4 5 1 5
1
4 6 1 2 1 3 1 4 2 3 2 4 3 4
-1
6 1 1 2
0