上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页
摘要: ## [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 阅读(19) 评论(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 阅读(55) 评论(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 阅读(30) 评论(0) 推荐(0)
摘要: # 二次扫描与换根法 咕咕得有些久了,再不写就废了。 ~~久了不写题目都记不住了,不过也权当复习~~ 直接看理论吧。 下面直接用 $v$ 表示 $u$ 的子节点。 ## 问题相关 一般二扫的题目很明显。 1. 求当每个节点为根时的答案 2. 求选出一个根节点,使得xxxx最优 3. 求子节点xxx状 阅读全文
posted @ 2023-08-04 19:26 spdarkle 阅读(65) 评论(0) 推荐(0)
摘要: [link](https://codeforces.com/contest/1834) 前言:VP了一把,rk731,如果赛上有这发挥就好了。 果然,D是分水岭,一直都是。 ## [Unit Array](https://codeforces.com/contest/1834/problem/A) 阅读全文
posted @ 2023-08-02 19:50 spdarkle 阅读(34) 评论(0) 推荐(0)
摘要: ## [$1844E$](https://codeforces.com/problemset/problem/1844/E) 题意: 定义一个矩形 $a$ 是好的,当且仅当其满足以下条件: 1. 矩形中每一个元素 $x$ 都为 $A,B,C$ 其中之一 2. 每一个 $2\times 2$ 的子矩形 阅读全文
posted @ 2023-08-01 19:56 spdarkle 阅读(27) 评论(0) 推荐(0)
摘要: # $Practice$ $on$ $codeforces$ $in$ $June$ wk,误删了4个题,但我不想补了 ## [$CF1839D$](https://codeforces.com/contest/1839/problem/D) 题意:给一个正整数序列 $a$,给定 $k$ 个 0,将 阅读全文
posted @ 2023-08-01 19:55 spdarkle 阅读(25) 评论(0) 推荐(0)
摘要: # CF补题题解2023.5 说明:CF题直接去luogu看翻译,AT题会附上简要题意 ## [CF1821E](https://codeforces.com/contest/1821/problem/E) 先考虑如何高速计算权值 一个显而易见的贪心是尽量在右边取括号消除,设右括号为 1,左括号为 阅读全文
posted @ 2023-08-01 19:55 spdarkle 阅读(38) 评论(0) 推荐(0)
摘要: ## [VP-Educational Codeforces Round 151 A~E](https://www.cnblogs.com/oierpyt/p/17598936.html) ## [VP-Codeforces Round #879 Div.2 A~F](https://www.cnbl 阅读全文
posted @ 2023-08-01 19:53 spdarkle 阅读(20) 评论(0) 推荐(0)
摘要: 前言:F是个FFT,不想写。 ## [A-Forbidden Integer](https://www.luogu.com.cn/problem/CF1845A) 你需要构造一个正整数序列,满足: 1. 对于 $i$,$a_i\le k$ 且 $a_i\not=x$。 2. $\sum a_i=n$ 阅读全文
posted @ 2023-08-01 19:50 spdarkle 阅读(45) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页