枚举
ZHXU1998
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[状压DP] Codeforces Round #585 (Div. 2) E. Marbles
The main fact is that the number of colors is less than 20, which allows us to use exponential solutions. For each pair of colors (i,j), we can calculate cnt[i][j] — the number of swaps required to p...原创 2019-09-20 00:42:49 · 263 阅读 · 0 评论 -
Comet OJ - 2019国庆欢乐赛 D1 入学考试 (简单版)
https://www.cometoj.com/contest/68/problem/D1?problem_id=3936 入学考试 (简单版) 枚举 已经做完的卷子数量 然后 剩下的时间 我们二分它最多每个卷子可以做多少题 然后剩下的时间我们自己在补进去 #include <bits/stdc++.h> using namespace std; const int N = 1e5 +...原创 2019-10-03 09:21:04 · 239 阅读 · 0 评论
分享