资源列表
poj1511.cpp.tar
- poj1511,最短路算法使用SPFA进行计算,建立两个图计算求值-poj1511, shortest path algorithm, using the SPFA, create two maps, calculate the evaluation
poj2823.cpp.tar
- poj2823,使用线段树进行查询区域间最大最小值,线段树初步-poj2823, using the segment tree for the query region between the maximum and minimum, the initial segment tree
poj3076.cpp.tar
- poj3076,使用dancinglink算法进行sudoku的求解计算-poj3076, using dancinglink calculation algorithm for solving sudoku
1.2
- 定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩 从键盘输入10个学生的以上内容 输出单门课成绩最高的学生的学号、姓名、以及该门课程的成绩 输出三门课程的平均分数最高的学生的学号、姓名及其平均分-Define an array of structures, storage of 10 students to learn numbers, names, classes are the results from the keyboard 10 students score a
1.3
- 定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩 从键盘输入10个学生的以上内容,存入文件stud.txt,关闭文件 打开stud.txt文件,将数据读出,查看是否正确写入,关闭文件。 打开文件stud.txt文件,读出数据,将10个学生按照平均分数从高到低进行排序, 分别将结果输出到屏幕上和另一文件studsort.txt中。-Define an array of structures, storage of 10 students to learn numbers
5
- 创建一个单向链表,存放10个学生的学号,姓名,并输出这种10个学生的信息。 在链表中查找指定学号的学生,输出其姓名。 在链表中删除指定学号的学生,然后输出其余学生的信息。-Create a one-way linked list, the school placed 10 student number, name, and output the 10 student information. In the list to find the specified number of stu
1
- 在一个由M*N个小正方形组成的矩形上,依次用两个相等的小正方形大小的矩形(此处所谓相邻是指两个正方形有一条公共边)不重复的覆盖该矩形区域。请构造出该问题的模型,设计算法求解所有可能的覆盖。-In a M* N small squares on the rectangle, followed by two small squares of equal size of the rectangle (here is the so-called two adjacent squares have a c
TansportInfo.tar
- 任意两个城市之间的最短路径。可以输入城市信息、构建城市网络、算出三种最小代价。-Any shortest path between two cities. You can enter a city information, build the city network, calculate the three kinds of minimum cost.
Segment-tree
- 线段树作为一种常用的数据结构,有常用性,基础性和易用性等诸多特点。在这里讲一讲关于线段树。-Segment tree as a common data structure, a common, basic and ease of use, and many other features. Here to talk about on the segment tree.
shujiegou
- 树结构在程序设计中的运用,包括并查集,线段树,树状数组等。-Tree structure used in the program design, including the collection and investigation, segment tree, the tree array, and so on.
Depth-first-search
- 深度优先搜索的搜索过程类似树的先序遍历,也叫回溯法。-Depth-first search of the search process similar to the preorder traversal of the tree, also known as backtracking.
CountSort
- 本程序是一个计数排序的程序,是我字节写的,经过验证是可以用的。-This program is a counting sort of program that I write bytes, proven is can be used.
