-
对二维图像进行离散傅里叶变换,分别给出了直流分量移动到频谱中心前后的频谱图样。...
对二维图像进行离散傅里叶变换,分别给出了直流分量移动到频谱中心前后的频谱图样。-Two-dimensional images of the discrete Fourier transform, respectively, given the spectrum to move to the DC component of the spectrum before and after the design center.
- 2022-02-24 13:12:55下载
- 积分:1
-
一个简单的用VC编写的掷骰子游戏,可以下注啊,下不对就玩完了。...
一个简单的用VC编写的掷骰子游戏,可以下注啊,下不对就玩完了。-A simple dice game written with the VC, you can bet ah, the next right on the game over.
- 2022-01-25 14:28:02下载
- 积分:1
-
用VB模拟Vista的玻璃窗口.zip
用VB模拟Vista的玻璃窗口.zip-VB simulation using Vista
- 2023-05-08 02:20:03下载
- 积分:1
-
文学助手,自己写的,学数据结构的时候写的,实现的是KMP算法...
文学助手,自己写的,学数据结构的时候写的,实现的是KMP算法-kmp atithmetic for index
- 2022-02-09 23:24:59下载
- 积分:1
-
读取pl0的词法
读取pl0的词法-p10 read the lexical
- 2022-05-25 04:13:23下载
- 积分:1
-
Keyboard arrow keys to control the keyboard arrow keys to move objects, control...
键盘方向键控制物体移动键盘方向键控制物体移动-Keyboard arrow keys to control the keyboard arrow keys to move objects, control objects Mobile
- 2023-06-25 10:40:03下载
- 积分: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
-
SUN Xin teachers VC++ Tutorial CD
孙鑫老师的VC++教程的光盘源代码,数写的很好,代码也很好,值得研究!第6章源程序!-SUN Xin teachers VC++ Tutorial CD-ROM source code, written in a few very good, code is also good, worthy of study! Chapter 6 source code!
- 2022-02-24 10:52:29下载
- 积分:1
-
在VB中两个窗体如何来调用!!!这里提供了一个方法
在VB中两个窗体如何来调用!!!这里提供了一个方法-in VB two forms how to call! ! ! It provides a method!
- 2022-03-12 06:22:28下载
- 积分:1
-
带头尾指针的list,从list的尾部插入,可以方便的删除list上的任意位置的节点...
带头尾指针的list,从list的尾部插入,可以方便的删除list上的任意位置的节点-lead the list tail pointer from the list, insert the rear, can easily delete the list of arbitrary location of the node
- 2022-02-26 20:15:09下载
- 积分:1