搜索资源列表
TRIAN_REPLACE
- 列火车要将n节车厢分别送往n个车站车站按1~n的次序编号,火车按照n, n-1,…, 1的编号次序经过车站。假设车厢的编号就是其目的地车站的编号。给定一个任意的车厢排列次序。重新排列车厢,使其按照从1到n的次序排列。规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨到出轨-The train cars were sent to n n stations stations by 1 ~ n the order number, the train in accordance with n, n-1, .