-
Notifications
You must be signed in to change notification settings - Fork 487
/
Copy pathencoded4a.txt
44 lines (44 loc) · 1.68 KB
/
encoded4a.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
space 101
' 10000100
, 1101001
- 10000101
. 1101000
C 10001101
E 1000000
G 10000110
K 10000111
R 1000101
T 10001000
U 10001110
W 10001111
a 0100
c 110101
d 00001
e 001
f 000111
g 1000001
h 01011
i 1100
j 10001001
k 10001100
l 01010
m 00010
n 1110
o 0111
p 10010
r 11011
s 0110
t 1111
u 100110
v 000110
w 100111
y 00000
----------------------------------------
10001111110011110101110111110101100110101011001010101001010101110001111011000101011101010010100110100001011000101011100000110101001110100110110001110111011000001100011101101101100111100000101100000011101000001110011100010011101111001110100000110101001110000011011000110101110001000010001110111101010011010110111110011000001001111011110110101100111110001010010101010011110100010010111000001011110001100111101011110010100100111110111111100110111011001111110000101101010001111101101110001010101001011001001001101111111110001110110110010111100100101011111010110100111110111000110101100100100110111111101011100011110111110101100110111010101110001010010010011100000010000100011010101101111010011110011001111100000010011011100111000011000101101111000100011110111110111001110101111101011001101010000111011011101101001001001101010011011100111000001100110011011111101100000110100110110000110011100011011010001011000100011000001010110000111010011001110001101010011101110011110011011101101010010000110101010010001101111101100111001001100011001101000
----------------------------------------
There are a total of 236 symbols that are encoded.
There are 35 distinct symbols used.
There were 1888 bits in the original file.
There were 1037 bits in the compressed file.
This gives a compression ratio of 1.82064.
The cost of the Huffman tree is 4.39407 bits per character.