2025年1月19日

摘要: 天梯赛使用 OMS 监考系统,需要将参赛队员安排到系统中的虚拟赛场里,并为每个赛场分配一位监考老师。每位监考老师需要联系自己赛场内队员对应的教练们,以便发放比赛账号。为了尽可能减少教练和监考的沟通负担,我们要求赛场的安排满足以下条件: 每位监考老师负责的赛场里,队员人数不得超过赛场规定容量 C; 每 阅读全文
posted @ 2025-01-19 16:08 laileou 阅读(20) 评论(0) 推荐(0) 编辑
 
摘要: 题目: 堆宝塔游戏是让小朋友根据抓到的彩虹圈的直径大小,按照从大到小的顺序堆起宝塔。但彩虹圈不一定是按照直径的大小顺序抓到的。聪明宝宝采取的策略如下: 首先准备两根柱子,一根 A 柱串宝塔,一根 B 柱用于临时叠放。 把第 1 块彩虹圈作为第 1 座宝塔的基座,在 A 柱放好。 将抓到的下一块彩虹圈 阅读全文
posted @ 2025-01-19 11:20 laileou 阅读(44) 评论(0) 推荐(0) 编辑

2025年1月16日

摘要: https://codeforces.com/problemset/problem/1610/B #include<bits/stdc++.h> using namespace std; #define endl '\n' using ll = long long; using pii = pair 阅读全文
posted @ 2025-01-16 22:32 laileou 阅读(4) 评论(0) 推荐(0) 编辑
 
摘要: 原题链接:https://codeforces.com/problemset/problem/2050/G 题解链接:https://blog.csdn.net/Lazy_ChessPlayer/article/details/144279298 #include<bits/stdc++.h> #d 阅读全文
posted @ 2025-01-16 11:37 laileou 阅读(4) 评论(0) 推荐(0) 编辑

2025年1月15日

摘要: 原题链接https://www.luogu.com.cn/problem/P3865 题解链接https://blog.csdn.net/WJTF2/article/details/136239183?ops_request_misc=%257B%2522request%255Fid%2522%25 阅读全文
posted @ 2025-01-15 20:39 laileou 阅读(6) 评论(0) 推荐(0) 编辑
 
摘要: https://codeforces.com/problemset/problem/2050/E #include<bits/stdc++.h> using namespace std; #define endl '\n' using ll = long long; using pii = pair 阅读全文
posted @ 2025-01-15 17:08 laileou 阅读(4) 评论(0) 推荐(0) 编辑
 
摘要: https://codeforces.com/contest/2050/problem/F 代码一: #include<bits/stdc++.h> #define lc p<<1 #define rc p<<1|1 #define INF 2e9 using namespace std; #def 阅读全文
posted @ 2025-01-15 14:17 laileou 阅读(10) 评论(0) 推荐(0) 编辑

2025年1月14日

摘要: https://codeforces.com/problemset/problem/2051/E #include<bits/stdc++.h> #define lc p<<1 #define rc p<<1|1 #define INF 2e9 using namespace std; #defin 阅读全文
posted @ 2025-01-14 21:07 laileou 阅读(4) 评论(0) 推荐(0) 编辑
 
摘要: https://codeforces.com/problemset/problem/2053/E #include<bits/stdc++.h> using namespace std; #define endl '\n' #define lowbit(x) x&(-x) using ll = lo 阅读全文
posted @ 2025-01-14 15:12 laileou 阅读(4) 评论(0) 推荐(0) 编辑
 
摘要: https://codeforces.com/problemset/problem/2055/C #include<bits/stdc++.h> using namespace std; #define endl '\n' #define lowbit(x) x&(-x) using ll = lo 阅读全文
posted @ 2025-01-14 08:57 laileou 阅读(4) 评论(0) 推荐(0) 编辑