文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.