资源列表
[数据结构常用算法] hdu4859
说明:hdu4859的ac源码。算法:最大流最小割。题意:题意:假设地图为一个N*M的格子,其中一些是陆地,一些是可以填充的浅海域,一些是不可填充的深海域。这里定义海岸线的长度为一个联通块陆地(可能包含浅海域填充变为的陆地)的边缘长度,两个格子至少有一个公共边,则视为联通。 值得注意的是,这里Z市的陆地区域可以是不联通的,并且整个地图都处在海洋之中,也就是说,Z市是由一些孤岛组成的,比如像,夏威夷? 你的任务是,填充某些浅海域,使得所有岛屿的海岸线之和最长。 输出最长海岸线和。-AC<郑泽彬> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] HuffmanTree
说明:该源文件为赫夫曼树的构建和使用,是数据结构课程中的一个例子-The source files for building and using Huffman tree is a data structure of an example of a curriculum<williamxwl> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BiTree
说明:该源代码为二叉树的构建和使用,为数据结构课程中的一个例子-The source code for the construction and use of binary tree data structure courses for an example<williamxwl> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 6-1solution
说明:哥尼斯堡的“七桥问题”,哥尼斯堡是位于普罗格河上的一座城市,包含两个岛屿及连接他们的七座桥,问可否走出这样的七座桥,而且每桥只走一次-Konigsberg' s " Seven Bridges problem," Konigsberg is a city located on the river progreso, contains two islands and seven bridges connecting them, asking whether we could<liuwenchun> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 3-2solution
说明:汉诺塔的非递归实现,借助堆栈以非递归(循环)方式求解汉诺塔的问题-Non-recursive implementation of the Tower of Hanoi, with a stack of non-recursive (cycling) way to solve the Towers of Hanoi problem<liuwenchun> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 4-3solution
说明:朋友圈,某学校有N个学生,形成M个俱乐部,每个俱乐部里的学生有着一定相似的兴趣爱好-Circle of friends, a school student with N form M clubs, each club has a certain similarity of student interests<liuwenchun> 在 2025-06-08 上传 | 大小:1kb | 下载:1
[数据结构常用算法] 4-4solution
说明:windows消息队列,对于每个进程,系统维护一个消息队列-windows message queue for each process, the system maintains a message queue<liuwenchun> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Block-search
说明:用二分法建立索引表,在此基础上进行分块查找的算法,用c语言加以实现。-Indexing table with the dichotomy block search algorithm based on this, to be implemented by c language.<> 在 2025-06-08 上传 | 大小:1kb | 下载:0