題目連結如下:https://tpmso.org/toi/wp-content/uploads/question/202308-OFFLINE/Treasure.pdf
3 3 2 3 3 1 5 1 7 8 0
18
2 2 1 2 8 9
5 4 4 9 7 3 5 7 9 3 4 8 7 2 9 7 6 1 1 7 8 5
55