-
show_SNA
显示奇怪非混沌吸引子. 获得数据后, 用外部软件: origin等画出.(showed strange non-chaotic attractor. Access to data, the use of external software : origin such as paint.)
- 2007-06-15 21:09:16下载
- 积分:1
-
MP3Player_kechengsheji
说明: 漂亮的MP3播放器,Visual C++ 6.0环境下MFC开发(nice MP3 player, 6.0 Visual C development environment MFC)
- 2006-04-12 17:27:09下载
- 积分:1
-
Visual C# 2005文件IO与数据存取的相关知识,内容全面,结构合理,论述清晰,对Visual C# 2005文件IO与数据存取技术及其实际应用都有独到...
Visual C# 2005文件IO与数据存取的相关知识,内容全面,结构合理,论述清晰,对Visual C# 2005文件IO与数据存取技术及其实际应用都有独到见解,是一本专业性较强的计算机书籍。这是书的第二章代码-Visual C# 2005 file IO and data access-related knowledge, comprehensive, well-structured, clear exposition of the Visual C# 2005 file IO and data access technology and its practical application have a distinct point of view, is a highly professional computer books. This is the second chapter of the code book
- 2022-06-15 01:46:31下载
- 积分:1
-
PC端蓝牙调试软件
对于找一款PC端的蓝牙,用于蓝牙串口调试用的,使用C#实现,可进行二次开发
- 2023-04-16 18:35:03下载
- 积分:1
-
SimpleBGC-_GUI_2_2b2(2)
开源SimpleBGC _GUI_2_2b2(2)的上位机代码,对下位机板进行设置 (Open source SimpleBGC _GUI_2_2b2 (2) of the PC code, the lower board set)
- 2016-12-16 12:06:28下载
- 积分:1
-
Processor system pratice
说明: 处理器系统,包括创建进程(QQ)、枚举进程、自定义消息发送、共享内存、线程同步等功能,有MFC界面(Processor system, including create process (QQ), enumeration process, custom message sending, shared memory, thread synchronization and other functions, with MFC interface)
- 2020-11-14 22:49:37下载
- 积分:1
-
11087 统计逆序对
说明: Description
设a[0…n-1]是一个包含n个数的数组,若在ia[j],则称(i, j)为a数组的一个逆序对(inversion)。
比如 有5个逆序对。请采用类似“合并排序算法”的分治思路以O(nlogn)的效率来实现逆序对的统计。
一个n个元素序列的逆序对个数由三部分构成:
(1)它的左半部分逆序对的个数,(2)加上右半部分逆序对的个数,(3)再加上左半部分元素大于右半部分元素的数量。
其中前两部分(1)和(2)由递归来实现。要保证算法最后效率O(nlogn),第三部分(3)应该如何实现?
此题请勿采用O(n^2)的简单枚举算法来实现。
并思考如下问题:
(1)怎样的数组含有最多的逆序对?最多的又是多少个呢?
(2)插入排序的运行时间和数组中逆序对的个数有关系吗?什么关系?
输入格式
第一行:n,表示接下来要输入n个元素,n不超过10000。
第二行:n个元素序列。
输出格式
逆序对的个数。
输入样例
5
2 3 8 6 1
输出样例
5(Set a[0... N-1] is a n array containing n numbers. If there is a [i] > a [j] i n the case of I < j, then (i, j) is a n inversion pair of a array.
For example, has five reverse pairs. Please use the idea of "merge sorting algorithm" to achieve the statistics of inverse pairs with O (nlogn) efficiency.
The number of inverse pairs of a sequence of n elements consists of three parts:
(1) The number of reverse pairs in the left half, (2) the number of reverse pairs in the right half, (3) the number of elements in the left half is greater than that in the right half.
The first two parts (1) and (2) are implemented by recursion. To ensure the final efficiency of the algorithm O (nlogn), how should the third part (3) be implemented?
Do not use O (n ^ 2) simple enumeration algorithm to solve this problem.)
- 2019-01-07 23:52:06下载
- 积分:1
-
xilinx SDK
在课下的交流讨论中,可以看出他的理解能力很强,也善于思考,能够很好的将理论和实践结合起来;该同学编程能力强,尤其是MATLAB和C,JAVA也可以,给我印象很深的一件事是他花了两周的时间,就基本上把我项目中的一个DBF程序看懂了,这个程序对研究生都有些难度。
- 2022-06-27 05:51:16下载
- 积分:1
-
螺丝螺帽配对问题
100个螺丝螺帽的陪对问题。
假设有N个螺丝和N个螺丝帽混在一堆,需要将它们快速配对。一个螺丝只会匹配一个螺丝帽,一个螺丝帽也只会匹配一个螺丝。可以试着把一个螺丝和一个螺丝帽拧在一起,看看哪一个大了,但不能直接比较两个螺丝或者螺丝帽的大小。
- 2022-08-10 03:16:14下载
- 积分:1
-
dac
FPGA的驱动并行接口的DAC程序,效率较高。(FPGA-driven parallel interface of the DAC process more efficient.)
- 2011-08-04 21:48:11下载
- 积分:1