T1 100%对区间排序然后分类讨论 #include <bits/stdc++.h> #include <iostream> using namespace std; static bool cmp(pair<int, int>& a, pair<int, int>& b) { bool res; if(a.first != b.first) res = a.first < b.first; else res = a.second < b.second; return res; } int main...