#include <bits/stdc++.h>
using namespace std;
const int maxn = 10000 + 5;
int lch[maxn], rch[maxn], feq[maxn];
struct Node{
int no, f;
Node(int nn, int ff): no(nn),f(ff) {
}
bool operator< (const Node& rhs) const {
return f > rhs.f;</
按出现频率的哈夫曼编码
最新推荐文章于 2024-06-25 18:31:27 发布