摘要:
双关键字 优先级队列按 f关键字 为 第一关键字 从大到小按 b关键字 为 第二关键字 从小到大cmp 与 sort 的恰好相反....#include <iostream>#include <cstdio>#include <cstdlib>#include <algorithm>#include <queue>#include <cmath>using namespace std;int n,m,t;struct node{ int b,f; };struct cmp{ bool operator()(node &am 阅读全文
posted @ 2012-09-28 14:57
xj9502
阅读(147)
评论(0)
推荐(0)
2012年9月28日