- deque 在一个双端队列的两端实现添加删除
- EMFII-lecturenotes Electromagnetic theory is essentially a study of some particular field. We define a field as a function which specifies a particular quantity everywhere in a region. If the quantity is a scalar (or vector)
- winmain- vc修改默认的函数入口点winmain 解决360云五引擎
- SockServer Vc异步套接字的例子
- psb_drv The table below contains a mapping of the PCI vendor ID and the PCI Device ID to the different groups of PowerVR 5
- new 基于单片机的智能照明控制系统
文件名称:hafuman
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:192.79kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
【问题描述】已知输入一串正整数,正整数之间用空格键分开,请建立一个哈夫曼树,以输入的数字为叶节点,求这棵哈夫曼树的带权路径长度。
【输入形式】首先输入正整数的个数,然后接下来为接下来的正整数,正整数个数不超过10个
【输出形式】输出相应的权值
【样例输入】5 4 5 6 7 8
【样例输出】69
-The length of the descr iption of the problem is known to enter a positive integer, a positive integer with a separate spacebar create a Huffman tree, digital input leaf node, find tree Huffman tree with the right path . Input form] First enter the number of positive integers, then the next for the next positive integer, is the integer number of not more than 10 [output in the form] output corresponding weights sample input] 545,678 【sample output】 69.
【输入形式】首先输入正整数的个数,然后接下来为接下来的正整数,正整数个数不超过10个
【输出形式】输出相应的权值
【样例输入】5 4 5 6 7 8
【样例输出】69
-The length of the descr iption of the problem is known to enter a positive integer, a positive integer with a separate spacebar create a Huffman tree, digital input leaf node, find tree Huffman tree with the right path . Input form] First enter the number of positive integers, then the next for the next positive integer, is the integer number of not more than 10 [output in the form] output corresponding weights sample input] 545,678 【sample output】 69.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
0303/
0303/0303.c
0303/0303.dsp
0303/0303.dsw
0303/0303.ncb
0303/0303.opt
0303/0303.plg
0303/Debug/
0303/Debug/0303.exe
0303/Debug/0303.ilk
0303/Debug/0303.obj
0303/Debug/0303.pch
0303/Debug/0303.pdb
0303/Debug/vc60.idb
0303/Debug/vc60.pdb
0303/0303.c
0303/0303.dsp
0303/0303.dsw
0303/0303.ncb
0303/0303.opt
0303/0303.plg
0303/Debug/
0303/Debug/0303.exe
0303/Debug/0303.ilk
0303/Debug/0303.obj
0303/Debug/0303.pch
0303/Debug/0303.pdb
0303/Debug/vc60.idb
0303/Debug/vc60.pdb
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.