acm套路模板

#include <iostream>
#include <cstdio>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
#include <cmath>
#define LL long long
#define INF 0x3f3f3f3f
#define maxn 1024
#define Pair pair<int, int>
using namespace std;
bool operator<(const Pair &a, const Pair &b)
{
    return a.first > b.first;
}
原文地址:https://www.cnblogs.com/upstart/p/6734620.html