资源列表
zuiduanluyou
- 计算机网络路由算法中的距离向量算法方法,这是源程序,学计算机网络的应该都知道-Computer networks in distance vector routing algorithm method, which is the source from computer network should know
Bitree
- 二叉树实现数据结构存储资料的详细功能、包含内容说明,尽量不要让站长把时间都花费在为.-The bitree is used to describe the storage of stastistics.
1945_N_Queens_Question
- 在NXN格的国际象棋棋盘上摆放N个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。 第一行为一个整数T,表示有T组数据。 以下T行,每行有一个整数n(0<n<=11),如上所述。 对于每组数据输出一行,即问题的答案。 -In NXN chess board grid placing N queens on, it can not attack each other, that any two of the Queen can
1678_GG_Single_Day
- 今天需要大家帮gg一个忙,2009年11月11日是星期三,而这是他一个星期中课业最重的一天,一天10课时……gg想知道的是,N年后的Single Day还会是星期三吗?如果不是,又是星期几呢?N年后的gg,欢迎大家展开丰富的想象!(继续YY中,勿扰……) 输入共t+1行,第一行是一个整数t,表示共有t组数据。下面t行,每行一个int类型的正整数N(1<=t<=10^4,0<=N<=10^9)。 输出对应的星期数,星期一是1,星期二是2,……,星期日是7。-Toda
HuffmanCode
- 现在有篇文章,请用二进制前缀编码对文章中出现所有字符进行其编码,使编码后的文章总长最短。 多组输入,第一个正整数T表示组数。 每组第一行有一个正整数n,1≤n≤100000表示所用的字符种数。 接下来一行为n个正整数,表示每个字符在文章中出现的次数。 输出编码的最小长度-There are articles, please use the binary prefix code for the article appeared in the encoding of
BinarySearchTree
- 用给定的数列构造一棵二叉排序树,并用广义表形式输出 输入数据共N+1行 第一行为一个整数N表示数据组数 第二至N+1行每行对应一组数据,共M+1个整数(M<10000) 每组数据以一个整数M开头,表示数列长度为M,后接长度为M的一组无序数列 输出共N行 每组数据对应一行输出 用广义表形式表示构造的二叉排序树,无任何多余空格和空行 它的通项公式为 前几项为 : 1, 2, 5, 14, 42, 132, 429,
zhidao
- 数据结构实验,既有简单容易的验证题,即验证已经给出的源程序,或者扩充已经给出的源程序,也有需独立思考设计的综合实验题。-Data structure experiment, both easy validation problem, namely verification has given the source program, or expansion has given the source program, also have to think independently the com
fenzhisuanfa
- 分治算法的介绍 C++ ACM-Divide and Conquer Algorithm descr iption
Dijkstra
- C++实现求单源最短路径,可以由用户自己构造有向无环图-C++, find single-source shortest path can be constructed by the users themselves have directed acyclic graph
3
- 校园导游系统 浏览校园的主要地点 查看所有的浏览路线-Visit the campus campus tour guide system, the main site see all the browsing routes
5
- 员工管理系统 查询员工信息 插入员工信息 更新员工信息-Staff management system query employee information into the Employee Information Update employee information
321589
- 问题描述:根据给定字符的使用频率,为其设计哈夫曼编码。 设计要求: 1.功能:求出n个字符的哈夫曼编码。 2.输入:输入n个字符和字符在电文中的使用频率。 3.输出:n个字符的哈夫曼编码。 -Problem Descr iption: According to the frequency of use given character, to design Huffman coding. Design requirements: 1. Function: Find the n
