TOIP 202211-b3 積木對接 (Blocks)
3 2 2 3 1 3 2 2 2 2 2 3
YES
3 2 2 3 1 3 2 2 2 2 3 3
NO
4 3 2 7 4 3 1 2 1 1 3 4 2 5 1 1
2 3 2 1 4 1 2 1 6 1
3 3 2 3 3 4 1 2 2 2 10 1