文件名称:dicorder
介绍说明--下载内容来自于网络,使用问题请自行百度
n个元素{1,2,…,n}有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…,n!-1。每个排列的编号为其字典序值。
给定n以及n个元素{1,2,…,n}的一个排列,计算出这个排列的字典序值,以及按字典序排列的下一个排列。
-n elements (1, 2, ..., n) n! Different permutations. This n! Arranged according to a lexicographic order, and numbered 0, 1, ..., n! -1. No. each with a value for their lexicographic. Given n and n elements (1, 2, ..., n) an arrangement worked out with a dictionary of the order value, and by lexicographic order with the next one.
给定n以及n个元素{1,2,…,n}的一个排列,计算出这个排列的字典序值,以及按字典序排列的下一个排列。
-n elements (1, 2, ..., n) n! Different permutations. This n! Arranged according to a lexicographic order, and numbered 0, 1, ..., n! -1. No. each with a value for their lexicographic. Given n and n elements (1, 2, ..., n) an arrangement worked out with a dictionary of the order value, and by lexicographic order with the next one.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
dicorder.ppt
dicorder.cpp
dicorder.pdf
www.dssz.com.txt
dicorder.cpp
dicorder.pdf
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.