HDU 5437 Alisha’s Party(优先队列)(2015网络赛长春站)

#include
#include
#include
#include
using namespace std;
const int maxm=200005;
int ans[maxm];
int k,m,p;
struct node
{
    char name[205];
    int val;
    int id;
    bool operator<(const node &s)const
    {
        if(val!=s.val)
        {
            return vals.id;
        }
    }
} q[maxm];
struct Node
{
    int d,f;
} t[maxm];
int cmp(Node p,Node q)
{
    return p.dQ;
    int j=0;
    node temp;
    int num=0;
    for(int i=0; i

你可能感兴趣的:(HDU)