上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 25 下一页
摘要: # [Codeforces Round 893 Div.2 A~E2](https://codeforces.com/contest/1858) ## [CF1858A](https://www.luogu.com.cn/problem/CF1858A) > 有 $a+b+c$ 个球。 > 其中的 阅读全文
posted @ 2023-08-21 13:51 spdarkle 阅读(35) 评论(0) 推荐(0)
摘要: ## [D](https://atcoder.jp/contests/abc315/tasks/abc315_d) 题意:给定一个 $n\times m$ 的字符矩形,重复执行以下操作直到删除字符数为0: 1. 对于每一行,若有且仅有一种字符存在,且个数大于1,将这些字符标记 2. 对于每一列,若有 阅读全文
posted @ 2023-08-20 23:03 spdarkle 阅读(65) 评论(0) 推荐(0)
摘要: # CQBZ round 10 心态考爆炸了,emmmm。 最大挂点:T5 原因: 主要:对二项式反演本质理解有问题。 次要:不会及时止损。 ## [jump](http://222.180.160.110:1024/contest/4108/problem/1) 不妨设 $h_0=0$,且固定这个 阅读全文
posted @ 2023-08-20 21:08 spdarkle 阅读(30) 评论(0) 推荐(0)
摘要: # Educational Codeforces Round 153 ## [A-Not a Substring](https://codeforces.com/contest/1860/problem/A) 题意:给出一个长为 $n$ 的序列,只含有左右括号,要求给出一个长为 $2n$ 的合法括号 阅读全文
posted @ 2023-08-19 07:23 spdarkle 阅读(39) 评论(0) 推荐(0)
摘要: # 类欧几里得算法简单形式 类欧几里得算法,基础版,在 $O(\log n)$ 的时间复杂度下计算: $$ \begin{align*} f(a,b,c,n)&=\sum_{i=0}^n\lfloor\frac{ai+b}{c}\rfloor\\ \end{align*} $$ 我们考虑先化简: 1 阅读全文
posted @ 2023-08-07 16:10 spdarkle 阅读(32) 评论(0) 推荐(0)
摘要: # Atcoder Beginner Contest 313 从C开始,由G结束(Ex的插头DP实在有点。 ## [C](https://atcoder.jp/contests/abc313/tasks/abc313_c) >给定数组 $a$,每一次操作形如选择 $1\le i,j\le n$,$a 阅读全文
posted @ 2023-08-07 11:38 spdarkle 阅读(50) 评论(0) 推荐(0)
摘要: [link](https://codeforces.com/contest/1856) 题号:1856A~E2 ## [A](https://codeforces.com/contest/1856/problem/A) 题面: >给定一个正整数 $n$ 和一个长度为 $n$ 的序列 $a$,重复执行 阅读全文
posted @ 2023-08-07 11:38 spdarkle 阅读(78) 评论(0) 推荐(0)
摘要: ## [Educational Codeforces Round 151 A~E](https://www.cnblogs.com/oierpyt/p/17598936.html) ## [Codeforces Round #879 Div.2](https://www.cnblogs.com/oi 阅读全文
posted @ 2023-08-05 15:33 spdarkle 阅读(20) 评论(0) 推荐(0)
摘要: # CF 873 题号:CF1828A/B,CF1827A,B1B2CD ## [A](https://codeforces.com/contest/1828/problem/A) > >构造一个长度为 $n$ 的序列 $a$ 满足以下条件。 > >- 对于每个元素 $a_i$ 满足 $a_i \l 阅读全文
posted @ 2023-08-04 19:27 spdarkle 阅读(65) 评论(0) 推荐(0)
摘要: [link](https://codeforces.com/contest/1847) 题号:CF1847A~F ## [A](https://codeforces.com/contest/1847/problem/A) >题意: > >给定一个数组 $\{x_1,x_2,\cdots,x_n\}$ 阅读全文
posted @ 2023-08-04 19:26 spdarkle 阅读(35) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 25 下一页