文件名称:position-exchange
介绍说明--下载内容来自于网络,使用问题请自行百度
利用邻位互换法生成n个数字的所有n!个排列。给出正整数n,则1到n这n个数可以构成n!个排列。排列的邻位互换法是所有n!个排列的一种次序,使得每两个相邻的排列都只有相邻的两个数发生了位置互换。-Generating n digital ortho exchange method utilizing all n! Permutations. Given a positive integer n, then n numbers 1 to n which may constitute n! Permutations. Ortho arrangement swap method is that all n! Order of the units of one kind, are arranged such that each two adjacent positions are interchanged only two adjacent numbers occurred.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
题目说明.txt
邻位互换.cpp
邻位互换.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
