摘要: 题解:模拟 #include <bits/stdc++.h> using namespace std; #define sz(a) int((a).size()) #define all(a) (a).begin(), (a).end() #define forn(i, n) for (int i 阅读全文
posted @ 2020-02-17 09:08 RE-TLE 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 题解: 阅读全文
posted @ 2020-02-17 09:00 RE-TLE 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 题解:直接构造 #include <bits/stdc++.h> using namespace std; const int MAX_N = 100; int t[MAX_N], lo[MAX_N], hi[MAX_N]; int main() { int tc; cin >> tc; while 阅读全文
posted @ 2020-02-17 08:51 RE-TLE 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 题解:维护可以接受的区间 #include <bits/stdc++.h> using namespace std; const int MAX_N = 100; int t[MAX_N], lo[MAX_N], hi[MAX_N]; int main() { int tc; cin >> tc; 阅读全文
posted @ 2020-02-17 08:44 RE-TLE 阅读(159) 评论(0) 推荐(0) 编辑