资源列表

« 1 2 ... .96 .97 .98 .99 .00 301.02 .03 .04 .05 .06 ... 2656 »

[数据结构常用算法JosephusProblem

说明:據說著名猶太歷史學家 Josephus有過以下的故事:在羅馬人佔領喬塔帕特後,39 個猶太人與Josephus及他的朋友躲到一個洞中,39個猶太人決定寧願死也不要被敵人到,於是決定了一個自殺方式,41個人排成一個圓圈,由第1個人開始報數,每報數到第3人該人就必須自殺,然後再由下一個重新報數,直到所有人都自殺身亡為止。 然而Josephus 和他的朋友並不想遵從,Josephus要他的朋友先假裝遵從,他將朋友與自己安排在第16個與第31個位置,於是逃過了這場死亡遊戲。-It is sai
<王凌云> 在 2025-06-16 上传 | 大小:4kb | 下载:0

[数据结构常用算法4Nmagicsquire

说明:與 奇數魔術方陣 相同,在於求各行、各列與各對角線的和相等,而這次方陣的維度是4的倍數。-The same with the odd magic square is to seek the line, all out with the diagonal and equal, and the dimension of the square is a multiple of 4.
<王凌云> 在 2025-06-16 上传 | 大小:3kb | 下载:0

[数据结构常用算法shacker

说明:事實上這個氣泡排序法已經不是單純的氣泡排序了,它使用了旗標與右端左移兩個方法來改進排序的效能,而Shaker排序法使用到後面這個觀念進一步改良氣泡排序法。 -In fact the bubble sort method is not a simple bubble sort, and it used the flag to the left and right side are two ways to improve the performance of sorting, and Shaker
<王凌云> 在 2025-06-16 上传 | 大小:4kb | 下载:0

[数据结构常用算法Eratosthenes

说明:說明 除了自身之外,無法被其它整數整除的數稱之為質數,要求質數很簡單,但如何快速的求出質數則一直是程式設計人員與數學家努力的課題,在這邊介紹一個著名的 Eratosthenes求質數方法 解。 以背包問題為例,我們使用兩個陣列value與item,value表示目前的最佳解所得之總價,item表示最後一個放至背包的水果,假設有負重量 1~8的背包8個,並對每個背包求其最佳解。 -Apart from their own descr iption, the other can
<王凌云> 在 2025-06-16 上传 | 大小:3kb | 下载:0

[数据结构常用算法C_Program

说明:清华大学的一些c语言算法程序,希望和相关朋友分享-Tsinghua University, a number of algorithm c language program, I hope to share and related
<yangshuai> 在 2025-06-16 上传 | 大小:251kb | 下载:0

[数据结构常用算法shujujiegou_c

说明:学习数据结构的同志,可以利用此代码库,练习自己进行数据实现!-Comrade learning data structures, you can use this code base, practice realize their own data!
<马鹏> 在 2025-06-16 上传 | 大小:338kb | 下载:0

[数据结构常用算法pailie

说明:C语言实现 排序源程序(包括直接插入、希尔、冒泡、快速、简单选择、堆排序-C language source code sort (including direct insertion, Hill, bubble, quick, simple choice HEAPSORT
<HEYINGPING> 在 2025-06-16 上传 | 大小:6kb | 下载:0

[数据结构常用算法2155

说明:二维树状数组 解北大2155 http://acm.pku.edu.cn/JudgeOnline/problem?id=21-Solution of two-dimensional array tree Beijing 2155http:// acm.pku.edu.cn/JudgeOnline/problem? Id = 21
<Yi Zhihao> 在 2025-06-16 上传 | 大小:1kb | 下载:0

[数据结构常用算法c_algorism

说明:是一个c算法的压缩包,供大家参考,还算丰富。-C is a compression algorithm package, for your reference, fairly rich.
<Kirk> 在 2025-06-16 上传 | 大小:87kb | 下载:0

[数据结构常用算法SiZE

说明:大整数四则运算的例子和算法介绍,源码都在里面,是我大学时候老师给的,经典-Large integer arithmetic examples and algorithms, the source is inside one of my university teachers given the time, classical
<junjie> 在 2025-06-16 上传 | 大小:265kb | 下载:0

[数据结构常用算法cons

说明:设计用并查集来计算一个无向图的连通分支的算法。 对于给定的无向图G,用并查集计算无向图G 的连通分支。 -Design and a search set to calculate the connectivity of undirected graph branch algorithm. For a given undirected graph G, and Richard set calculated using undirected graph G branch connectivi
<yufa> 在 2025-06-16 上传 | 大小:1kb | 下载:0

[数据结构常用算法JuZhenLianCheng

说明:问题描述 给定n个矩阵A1,A2,…,An,其中,Ai与Aj+1是可乘的,i=1,2,…,n-1。 你的任务是要确定矩阵连乘的运算次序,使计算这n个矩阵的连乘积A1A2…An时总的元素乘法次数达到最少。 例如:3个矩阵A1,A2,A3,阶分别为10×100、100×5、5×50,计算连乘积A1A2A3时按(A1A2)A3所需的元素乘法次数达到最少,为7500次。 -Descr iption of the problem given n matrices A1,
<陈文浩> 在 2025-06-16 上传 | 大小:6kb | 下载:0
« 1 2 ... .96 .97 .98 .99 .00 301.02 .03 .04 .05 .06 ... 2656 »

源码中国 www.ymcn.org