搜索资源列表
ShortestPathviaFibonacciHeap
- This code implements the shortest path algorithm via the simple scheme and fibonacci heap data structure. It has 3 kinds of testing data input method : random input by computer, reading from the file, reading from the key board.
MyOOCFwV1_0
- 使用C语言时,经常需要调用malloc()和free()函数来进行动态内存的分配和回收。有些时候,程序员可能会忘记回收分配的动态内存。为了解决这个问题,这里设计了一个代替malloc()和free()函数的数据结构(或者类)——ObjectManager。ObjectManager中提供了objmgr_malloc()和objmgr_free()以及objmgr_show_mem_info()函数。objmgr_malloc()函数负责按字节总数动态分配内存并且予以记录,objmgr_free(
Jack_Straws
- ACM94国际大学生编程竞赛东中心区试题-Descr iption n the game of Jack Straws, a number of plastic or wooden "straws" are dumped on the table and players try to remove them one-by-one without disturbing the other straws. Here, we are only concerned with if vario
E
- A problem consists of multiple lines of input. The first line will be an integer n (1 < n < 13) giving the number of straws on the table. Each of the next n lines contain 4 positive integers, x1 , y1 , x2 and y2 , giving the coordinates, (x1 y1
cruise
- 给定一张航空图,图中项点代表城市,边代表两城市之间的直通航线。现要求找出一条满足下述限制条件且途经城市最多的旅行路线: (1) 从最西端城市出发,单向从西向东途经若干城市到达最东端城市,然后再从东向西飞回起点(可途经若干个城市) (2) 除起点城市外,任何城市只能访问一次。 对于给定的航空图,请设计一个算法找出一条满足要求的最佳航空路线。 -Given an aviation map, map key points on behalf of the city, while o
Algorithm
- Searching and Sorting Algorithms via C#
zhizhengzifuzchuan
- 6-3(4)用指针找统计字符个数,例题,通过指针引用数组元素,指针矩阵转置,指针链表,指针排序,指针数组排序Cpp,指针字符串连接-6-3 (4) with a pointer to the number of characters to find statistics, examples, reference array elements via pointers, pointer matrix transpose, the pointer list, sorting pointers, po
bin_tree
- A data structure implemented via a linked list. Useful for finding elements in a small amount of time.
LinkedList
- A Linked List data structure implemented via pointers.
LinkedStack
- A Stack abstract data type implemented via a Linked List
4
- (1) 通过键盘输入某位学生的学生证信息。学生证包含的信息请参看自己的学生证; (2) 给定学号,显示某位学生的学生证信息; (3) 给定某个班级的班号,显示该班所有学生的学生证信息; (4) 给定某位学生的学号,修改该学生的学生证信息; (5) 给定某位学生的学号,删除该学生的学生证信息; *(6) 按出生日期对全班学生的信息进行排序; -(1) via the keyboard, enter the student ID information of a studen
fileOperating
- 用C++实现的结合哈弗曼树编码的原理来实现对文件的压缩和解压-use the principle of the huffman tree which is very effective in compressing and decompressing the file via C++