-
An interface todayscreen today to prepare a small program
一个编写今日界面todayscreen的一个小程序-An interface todayscreen today to prepare a small program
- 2022-06-28 12:15:06下载
- 积分:1
-
DB-library编程window下的VC和SOL server结合开发而成使用了DB-library库-DB-library programming window under the VC and integrate SOL server was developed using the DB-library for
- 2022-02-20 02:01:34下载
- 积分:1
-
matlab图像的发展5章
matlab 图象开发 chapter 5-Matlab Image Development chapter 5
- 2022-04-01 06:44:34下载
- 积分:1
-
类似于XP界面的左
类似XP左边的那个界面-Similar to the left of the XP interface
- 2022-02-03 06:18:58下载
- 积分:1
-
This is a project' s source code drp note, some of which is the code from oth...
这是一个drp项目的源代码说明,其中部分是借鉴他人代码,欢迎指正。-This is a project" s source code drp note, some of which is the code from others, please correct me.
- 2022-04-14 23:35:37下载
- 积分:1
-
算法实现题2
算法实现题2-9 排列的字典序问题
« 问题描述:
n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…,
n!-1。每个排列的编号为其字典序值。例如,当n=3时,6 个不同排列的字典序值如下:
字典序值 0 1 2 3 4 5
排列 123 132 213 231 312 321
« 编程任务:
给定n 以及n 个元素{1,2, , n }的一个排列,计算出这个排列的字典序值,以及按字
典序排列的下一个排列。
« 数据输入:
由文件input.txt提供输入数据。文件的第1 行是元素个数n。接下来的1 行是n个元素
{1,2, , n }的一个排列。
« 结果输出:
程序运行结束时,将计算出的排列的字典序值和按字典序排列的下一个排列输出到文件
output.txt中。文件的第一行是字典序值,第2行是按字典序排列的下一个排列。
输入文件示例 输出文件示例
input.txt output.txt
8
2 6 4 5 8 1 7 3
8227
2 6 4 5 8 3 1 7
- 2022-02-12 05:10:54下载
- 积分:1
-
好的源码库
ZThread库是一个开源的跨平台高级面向对象的线性和sycnchronization 库,以运行POSIX 和Win32 系统中的C++程序。
- 2022-05-15 22:30:23下载
- 积分:1
-
获得硬件(硬盘,CPU等等)信息的好类,简单易用
获得硬件(硬盘,CPU等等)信息的好类,简单易用-access hardware (hard disk, CPU, etc.) a good type of information, easy to use
- 2022-04-17 17:24:53下载
- 积分:1
-
AC-FTP控制程序源代码acftp_2.1.zip-AC-FTP control of the source code acftp_2.1.zip
- 2023-07-19 04:05:04下载
- 积分:1
-
VCD出租管理系统(基于ADO的)
VCD出租管理系统(基于ADO的)-VCD rental management system (based on ADO)
- 2022-01-26 04:48:48下载
- 积分:1