{
  "id": "B033",
  "title": "卡片只能从最上面取，为什么有些目标顺序排不出来",
  "input": {
    "input": [
      1,
      2,
      3
    ],
    "target": [
      3,
      1,
      2
    ],
    "allowed": [
      "按原序压入",
      "取出顶牌"
    ]
  },
  "answer": {
    "outputs": [
      [
        1,
        2,
        3
      ],
      [
        1,
        3,
        2
      ],
      [
        2,
        1,
        3
      ],
      [
        2,
        3,
        1
      ],
      [
        3,
        2,
        1
      ]
    ],
    "route_213": [
      "压1",
      "压2",
      "取2",
      "取1",
      "压3",
      "取3"
    ],
    "boundary": "312不可达，空堆不能取。",
    "all_traces": [
      {
        "output": [
          3,
          2,
          1
        ],
        "operations": [
          "压1",
          "压2",
          "压3",
          "取3",
          "取2",
          "取1"
        ]
      },
      {
        "output": [
          2,
          3,
          1
        ],
        "operations": [
          "压1",
          "压2",
          "取2",
          "压3",
          "取3",
          "取1"
        ]
      },
      {
        "output": [
          2,
          1,
          3
        ],
        "operations": [
          "压1",
          "压2",
          "取2",
          "取1",
          "压3",
          "取3"
        ]
      },
      {
        "output": [
          1,
          3,
          2
        ],
        "operations": [
          "压1",
          "取1",
          "压2",
          "压3",
          "取3",
          "取2"
        ]
      },
      {
        "output": [
          1,
          2,
          3
        ],
        "operations": [
          "压1",
          "取1",
          "压2",
          "取2",
          "压3",
          "取3"
        ]
      }
    ]
  },
  "rules": "参考只针对本材料印出的规则；允许集合见答案，不据此承诺教学效果。"
}
