1 10 10 5 1 3 7 3 4 5 5 10 10 7 1 10 9 3 9
10 combine 4 5 cut 3 4 combine 3 7 cut 1 3 cut 5 10 combine 3 9 cut 9 3 combine 1 10 cut 7 1 spread
1 1 5 3 1 1 3 1 2 4 1 3 5
3 combine 1 5 cut 1 1 spread
2 1 100 3 1 1 2 1 3 98 1 99 100
3 combine 1 100 cut 1 1 spread
YTP 2024 高中組程式挑戰營 p18
No. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~2 | 範例測資 | 0 |
2 | 3~11 | $h, w \leq 100$ | 1 |
3 | 12~20 | $\forall 1 \leq i \leq n - 1, c[i - 1][1] < c[i][0]$ | 1 |
4 | 21~45 | $n \leq 100$ | 8 |
5 | 0~81 | 無額外限制 | 15 |