文件名称:1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:195.07kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
【问题描述】已知输入一串正整数,正整数之间用空格键分开,请建立一个哈夫曼树,以输入的数字为叶节点,求这棵哈夫曼树的带权路径长度。
【输入形式】首先输入正整数的个数,然后接下来为接下来的正整数,正整数个数不超过10个
【输出形式】输出相应的权值
-[Problem Descr iption] known input string of positive integers, positive integers separated by a space key, create a Huffman tree to enter the number of leaf nodes, find the right tree Huffman tree with path length . [Form] enter the number of first enter a positive integer, then the next for the next positive integer, the number of positive integers up to 10 outputs in the form [] output corresponding weight
【输入形式】首先输入正整数的个数,然后接下来为接下来的正整数,正整数个数不超过10个
【输出形式】输出相应的权值
-[Problem Descr iption] known input string of positive integers, positive integers separated by a space key, create a Huffman tree to enter the number of leaf nodes, find the right tree Huffman tree with path length . [Form] enter the number of first enter a positive integer, then the next for the next positive integer, the number of positive integers up to 10 outputs in the form [] output corresponding weight
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1/4-1.c
1/4-1.dsp
1/4-1.dsw
1/4-1.ncb
1/4-1.opt
1/4-1.plg
1/Debug/4-1.exe
1/Debug/4-1.ilk
1/Debug/4-1.obj
1/Debug/4-1.pch
1/Debug/4-1.pdb
1/Debug/try.pch
1/Debug/vc60.idb
1/Debug/vc60.pdb
1/try.c
1/try.dsp
1/try.dsw
1/try.ncb
1/try.opt
1/try.plg
1/Debug
1
1/4-1.dsp
1/4-1.dsw
1/4-1.ncb
1/4-1.opt
1/4-1.plg
1/Debug/4-1.exe
1/Debug/4-1.ilk
1/Debug/4-1.obj
1/Debug/4-1.pch
1/Debug/4-1.pdb
1/Debug/try.pch
1/Debug/vc60.idb
1/Debug/vc60.pdb
1/try.c
1/try.dsp
1/try.dsw
1/try.ncb
1/try.opt
1/try.plg
1/Debug
1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.