资源列表
[数据结构常用算法] migong
说明:用回溯法完成迷宫问题,迷宫大小自己设定,用一个矩阵表示一个迷宫,每个位置上位1或者0,如果为0,表示此路不通,为1,表示此路可以走,最后输出走出迷宫的路径或者显示不能走出的信息-Maze problem using backtracking to complete, the size of their maze set, a maze with a matrix, each position of the upper 1 or 0, if 0, that being the case, to 1<王波> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[数据结构常用算法] Exercise8_22
说明:写一个程序来创建一个Exercise8_22.txt 文件,随机的100个整数,从文件中读出这些数,并且排序。-Write a program to create a file named Exercise8_22.txt if it does not exist.Wite one hundred integers created radomly into the file using text I/O .Integer are separated by speces in the file.<玲玲> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[数据结构常用算法] dijkstra
说明:dijkstra算法,主体是别人的,自己改进了当剩余点不可到达时的 多余更新距离和比较距离操作,-dijkstra.erase the unnecessary course when the left set of points can not be reached<zhaojianguang> 在 2025-06-18 上传 | 大小:239kb | 下载:0
[数据结构常用算法] shezhimima
说明:本程序是一个设置密码的实例,当用户输入错误的密码的时候,系统提示密码错误并要求重新输入,只有输入了正确的密码,才能进行下一步操作。-This procedure is a set of code examples, when a user enters the wrong password prompt, and request to enter the password mistake, only the correct password, input to the operation.<小宋> 在 2025-06-18 上传 | 大小:1kb | 下载:0
[数据结构常用算法] huochechexiangchongpai
说明:本程序演示的是一个火车车厢重排事件。从本程序中可以学习如何用栈来解决复杂的排列问题。-This is a demo program trains rearrangement of events. From this program can learn how to use the stack to solve complicated arrangement.<小宋> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[数据结构常用算法] Josephus_CircList
说明:用循环链表求解约瑟夫问题,采用C++语言,内含详细注释,个人认为用数据结构方式解决约瑟夫问题比采用数组更容易理解-Joseph solving the problem with the circulation list, using C++ language, containing detailed comments, personally think that the data structure used to resolve the problem Joseph easier to und<weiw> 在 2025-06-18 上传 | 大小:987kb | 下载:0
[数据结构常用算法] 2010quicksort
说明:c++用栈代替递归实现的快速排序,快速排序是一种比较节约时间的排序,一般用递归的方法实现,用栈虽然占用空间比递归大,但不要像递归一样把大多的时间浪费在递归的过程中,特别是对数字比较多的排序更有效-Recursive stack instead of using quick sort, quick sort is a kind of sorting to save time, usually with a recursive method to achieve, although the use<郑湾州> 在 2025-06-18 上传 | 大小:30kb | 下载:0