2011年11月12日

poj-3253 Fence Repair **

摘要: /* * 3253 Fence Repair.cpp * * Created on: 2011-10-25 * * Huffman + 堆排 * * _int64 让我WA了无数次, 郁闷 * */#include <iostream>using namespace std;const int maxn = 50000 + 5;__int64 len[maxn], n, size;inline int left(int i){ return 2 * i + 1;}inline int right(int i){ return 2 * i + 2;}inline int ... 阅读全文

posted @ 2011-11-12 00:55 龙豆 阅读(302) 评论(0) 推荐(0)

导航