摘要:
#include<cstdio>#include<queue>#include<iostream>#include<cstdlib>#include<algorithm>#define N 800000+5using namespace std;struct g{ int cost; int date;}a[N];int n;int cmp(const void *a,const void *b){ return (*(struct g *)a).date>(*(struct g *)b).date?1:-1;}int main 阅读全文