摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 1010; 4 int n; 5 typedef pair<int, int> PII; 6 PII ps[N]; //peoples 7 vector<int> mu 阅读全文
posted @ 2020-11-15 20:55 kyk333 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 1010; 4 const double eps = 1e-6, INF = 1e10; 5 //eps用于精度判断 6 typedef pair<double, do 阅读全文
posted @ 2020-11-15 19:57 kyk333 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef pair<int, int> PII; 4 const int N = 50010; 5 pair<PII, int> cows[N]; 6 //首先存储开始时间和结束时间,然后存 阅读全文
posted @ 2020-11-15 18:53 kyk333 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 2510; 4 typedef pair<int, int> PII; 5 PII a[N]; //牛的min和max 6 int main() { 7 int c, 阅读全文
posted @ 2020-11-15 15:50 kyk333 阅读(102) 评论(0) 推荐(0) 编辑