摘要:
贪心+优先队列#include <iostream>
#include <cstdio>
#include <vector>
#include <queue>
using namespace std;
const int maxn=50;
int h[maxn],n;
int main()
{ int tot=0; while(cin>>n&&n) { tot++; int i; priority_queue<int> q1; priority_queue<int,vector<int>, 阅读全文
posted @ 2012-12-22 09:47
LJ_COME!!!!!
阅读(136)
评论(0)
推荐(0)

浙公网安备 33010602011771号