文件名称:huochechongpai
-
所属分类:
- 标签属性:
- 上传时间:2015-10-26
-
文件大小:1.07kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一列火车要将N节车厢分别送往N个车站,车站按1-N的次序编号,火车按照N,N-1,....1的编号次序经过车站,假设车厢的编号就是其目的地车站的编号。
给定一个任意的车厢排列次序,重新排列车厢,使其按照从1到N的次序排列,规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨出轨。
限制条件:
有一条入轨,一条出轨,K条缓冲铁轨(1≤K≤N-1)-A train carriages were sent to N N stations, railway stations, in the order of number 1-N, the train in accordance with N, N-1, .... number sequence 1 through the station, it is assumed that the number of the car to its destination number of the station. Given an arbitrary Priorities car, rearranges the car, it arranged in order 1 to N, predetermined rearrangement only orbit to buffer rails, or derailed the track buffer. Restrictions: There is an orbit, a derailment, K buffer strip rail (1≤K≤N-1)
给定一个任意的车厢排列次序,重新排列车厢,使其按照从1到N的次序排列,规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨出轨。
限制条件:
有一条入轨,一条出轨,K条缓冲铁轨(1≤K≤N-1)-A train carriages were sent to N N stations, railway stations, in the order of number 1-N, the train in accordance with N, N-1, .... number sequence 1 through the station, it is assumed that the number of the car to its destination number of the station. Given an arbitrary Priorities car, rearranges the car, it arranged in order 1 to N, predetermined rearrangement only orbit to buffer rails, or derailed the track buffer. Restrictions: There is an orbit, a derailment, K buffer strip rail (1≤K≤N-1)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huochechongpai.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.