⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 调试实例.txt

📁 赫夫曼编码与译码 本程序完全采用链式存储结构
💻 TXT
字号:
调试结果:
Some years ago I took on an assignment in a southern county to work with people
on public welfare. What I wanted to do was show that everybody has the capacity
to be self-sufficient and all we have to do is to activate them. I asked the cou
nty to pick a group of people who were on public welfare, people from different
racial groups and different family constellations. I would then see them as a gr
oup for three hours every Friday.
^Z
 (ASC码为32)出现80次,编码为11
e(ASC码为101)出现42次,编码为101
w(ASC码为119)出现11次,编码为10011
u(ASC码为117)出现11次,编码为10010
W(ASC码为87)出现1次,编码为10001111
S(ASC码为83)出现1次,编码为10001110
,(ASC码为44)出现1次,编码为100011011

(ASC码为10)出现1次,编码为100011010
F(ASC码为70)出现1次,编码为100011001
-(ASC码为45)出现1次,编码为100011000
m(ASC码为109)出现6次,编码为100010
p(ASC码为112)出现13次,编码为10000
f(ASC码为102)出现13次,编码为01111
l(ASC码为108)出现15次,编码为01110
a(ASC码为97)出现29次,编码为0110
t(ASC码为116)出现30次,编码为0101
h(ASC码为104)出现15次,编码为01001
b(ASC码为98)出现4次,编码为0100011
I(ASC码为73)出现4次,编码为0100010
v(ASC码为118)出现4次,编码为0100001
k(ASC码为107)出现4次,编码为0100000
s(ASC码为115)出现17次,编码为00111
i(ASC码为105)出现17次,编码为00110
o(ASC码为111)出现35次,编码为0010
.(ASC码为46)出现4次,编码为0001111
g(ASC码为103)出现5次,编码为0001110
y(ASC码为121)出现9次,编码为000110
r(ASC码为114)出现19次,编码为00010
n(ASC码为110)出现19次,编码为00001
d(ASC码为100)出现11次,编码为000001
c(ASC码为99)出现11次,编码为000000
Some years ago I took on an assignment in a southern county to work with people
on public welfare. What I wanted to do was show that everybody has the capacity
to be self-sufficient and all we have to do is to activate them. I asked the cou
nty to pick a group of people who were on public welfare, people from different
racial groups and different family constellations. I would then see them as a gr
oup for three hours every Friday.

结果说明:
此调试说明本程序支持任意长度和任意字符。文件夹中的input用来存储用户输入的字符流,output用来存储字符流的赫夫曼编码。

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -