文件名称:huff-fuckfuckfuck
-
所属分类:
- 标签属性:
- 上传时间:2013-05-26
-
文件大小:790byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
赫夫曼树啊。输入说明:多组数据,第一行为整数m,表示有几组数据,每组数据分为两行输入;第1行为n的值,第2行为n个整数,表示字符的出现频度。
输出说明:对每组数据输出一个整数,表示所构造哈夫曼树的带权路径长度(输出整数后换行)。
-Huffman tree ah. Input Descr iption: multiple sets of data, the first act integer m, which means that there are several sets of data, each line of input data into two the value of n first act, the second act n integers, representing the character frequency of occurrence. Output Descr iption: For each data output an integer that represents the Huffman tree structure with the right path length (integer output after newline).
输出说明:对每组数据输出一个整数,表示所构造哈夫曼树的带权路径长度(输出整数后换行)。
-Huffman tree ah. Input Descr iption: multiple sets of data, the first act integer m, which means that there are several sets of data, each line of input data into two the value of n first act, the second act n integers, representing the character frequency of occurrence. Output Descr iption: For each data output an integer that represents the Huffman tree structure with the right path length (integer output after newline).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huff fuckfuckfuck.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.