代码搜索:快速傅里叶
找到约 10,000 项符合「快速傅里叶」的源代码
代码结果 10,000
www.eeworm.com/read/314155/13573899
cpp 快速排序.cpp
/*快速排序采用分治算法,将所需要排序的内容从文件读入放入数组a[p:r],按以下三个步骤进行排序
以a[p]为基准元素将数组分为三段,将大于基准元素的放到后面的单元,小的放到前面的单元,
再用递归对a[p:q-1],a[q+1:r]进行排序,最后合并
时间复杂度:最坏时间复杂度:O(n2)
平均时间复杂度:O(nlogn)
*/
#include ...
www.eeworm.com/read/306206/13749303
jpg 快速栏.jpg
www.eeworm.com/read/304950/13782507
cpp 快速排序.cpp
#include
int N=3;
typedef struct{
char name[20];
int score;
}snode;
int partition(snode *r,int i,int j);
void quicksort(snode *r,int low,int high);
void outlist(snode* r);
www.eeworm.com/read/396091/6313029
txt 快速排序.txt
//快速排序之确定划分点
{逻辑结构:线性表}
算法思想:
1。假设对线性表List[p..r]确定划分点。定义位序变量i,j。i始终指向已处理的元素列表的末尾,即元素
List[p..i]均不大于List[r]。j始终指向当前要处理的元素,即元素List[(i+1)..(j-1)]均大于List[r]。
2。i = p - 1。j = p。
3。当j
www.eeworm.com/read/330350/6333963
ncb 快速排序.ncb
www.eeworm.com/read/330350/6333964
dsp 快速排序.dsp
# Microsoft Developer Studio Project File - Name="快速排序" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Cons
www.eeworm.com/read/330350/6333967
opt 快速排序.opt
www.eeworm.com/read/330350/6333968
dsw 快速排序.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "快速排序"=".\快速排序.dsp"
www.eeworm.com/read/487037/6522714
txt 快速排序.txt
inline void swap(int& x, int& y)
{
int t=x;
x = y;
y = t;
}
void sort(int* a, int n)
{
if(n
www.eeworm.com/read/476277/6764909
txt 快速排序.txt
void run(int *pData,int left,int right){
int i,j;
int middle,iTemp;
i=left;
j=right;
middle=pData[(left+right)/2]; //求中间值
do{
while((pData[i]