资源列表
[数据结构常用算法] UVALive4849
说明:uvalive4849的ac源码。算法:2-sat。题意:给n(n<=3000)个黑方块的坐标,保证黑方块没有公共边。对于每个黑方块选一个角作为结点,使得所选结点满足输入的一个无向图。其中距离为曼哈顿距离。输出是否有解。possible或impossible。-AC source of uvalive 4849. Algorithms: 2-sat. Meaning of the questions: to n (n <= 3000) coordinates a black box,<郑泽彬> 在 2025-06-25 上传 | 大小:2kb | 下载:0
[数据结构常用算法] hdu4859
说明:hdu4859的ac源码。算法:最大流最小割。题意:题意:假设地图为一个N*M的格子,其中一些是陆地,一些是可以填充的浅海域,一些是不可填充的深海域。这里定义海岸线的长度为一个联通块陆地(可能包含浅海域填充变为的陆地)的边缘长度,两个格子至少有一个公共边,则视为联通。 值得注意的是,这里Z市的陆地区域可以是不联通的,并且整个地图都处在海洋之中,也就是说,Z市是由一些孤岛组成的,比如像,夏威夷? 你的任务是,填充某些浅海域,使得所有岛屿的海岸线之和最长。 输出最长海岸线和。-AC<郑泽彬> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] edit-distance
说明:算法导论(3)动态规划中edit distance 一题解答-Introduction to Algorithms (3) dynamic programming in an edit distance Answers<xiazhao> 在 2025-06-25 上传 | 大小:2kb | 下载:0
[数据结构常用算法] General_tips_from_FDTD_course
说明:geometry filling in matlab<Zakaria> 在 2025-06-25 上传 | 大小:2kb | 下载:0
[数据结构常用算法] OJ-Template
说明:判断一个数字区间内有多少个水仙花数字,并有判断实例-Determine how many daffodils figures within a range of numbers, and determine instances<杨钦贺> 在 2025-06-25 上传 | 大小:3.76mb | 下载:0
[数据结构常用算法] OJ-Template
说明:主要功能是在一个字符串中找出连续最长的数字串-The main function is to find the longest consecutive string of numbers in a string<杨钦贺> 在 2025-06-25 上传 | 大小:3.88mb | 下载:0
[数据结构常用算法] Stack-and-queue
说明:用visual c++实现的栈与队列的基本操作。以停车场为例,具有初始化停车场,添加车辆,车辆出停车场,显示所有车位细信息等功能。-With the basic operation of the stack and queue visual the c++ realization. In the parking lot as an example, with initialization parking lot, add the vehicle, the vehicle out of the p<危育冰> 在 2025-06-25 上传 | 大小:228kb | 下载:0