摘要: 多路归并+优先队列的使用#include <iostream> #include <cstdio> #include <queue> #include <algorithm> using namespace std; const int maxn=2000+10; int a[110][maxn],b[maxn],n,m; struct item { int s,b; item(int s,int b):s(s),b(b) { } }; bool operator < (item a,item b) { return a.s>b.s; 阅读全文
posted @ 2013-05-01 17:31 LJ_COME!!!!! 阅读(185) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示