摘要: http://poj.org/problem?id=1659Havel 定理 贪心。。考虑要全面#include <stdio.h>#include <string.h>#include <algorithm>#include <queue>using std::sort;struct Node{ int pos, w; bool operator < (Node a) { return w >= a.w ; }}lake[25];int map[25][25];int main(){ int cas, i, j, n, a; boo 阅读全文
posted @ 2013-02-28 09:59 April_Tsui 阅读(125) 评论(0) 推荐(0) 编辑