摘要: ## [$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 阅读(7) 评论(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 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # CF补题题解2023.5 说明:CF题直接去luogu看翻译,AT题会附上简要题意 ## [CF1821E](https://codeforces.com/contest/1821/problem/E) 先考虑如何高速计算权值 一个显而易见的贪心是尽量在右边取括号消除,设右括号为 1,左括号为 阅读全文
posted @ 2023-08-01 19:55 spdarkle 阅读(9) 评论(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 阅读(5) 评论(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 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 前言:wssb ## [Dalton the Teacher](https://codeforces.com/contest/1855/problem/A) 题意:给定一个排列,每次可以交换两个元素,求使得 $\forall i\in[1,n],a_i\neq i$ 的最小操作数。 一次可以操作两个 阅读全文
posted @ 2023-08-01 08:08 spdarkle 阅读(81) 评论(0) 推荐(0) 编辑