树-堆结构练习——合并果子之哈夫曼树
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu #include#include #include #include #include using namespace std;int main(){ int n; int a, i; int cnt; int dd, ff; //队首元素+新队首 priority_queue