版本比较
Unhappy Refrain
正文
增加 49 行删除 0 行
123456789107 行未改动18192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778之前那个有点死了,再开一个 /kel
## 11.15 & 11.16
爽做远古题。不是这给我一种黑题很简单的错觉你知道吗。
:::info[[$\color{#0e1d69}\textsf{P17885}$ 「IXOI R4」欸,云朵!? (加强版)](https://www.luogu.com.cn/problem/P17885)]{open}求有多少对 $n$ 位二进制数 $(a,b)$,满足 $\operatorname{popcount}(a\oplus b)=\operatorname{popcount}(a+b)$。$n\le10^6$。:::
7 行未改动:::success[Solution]{open}:::
:::info[[$\color{#0e1d69}\textsf{P3771}$ [CTSC2017] 网络](https://www.luogu.com.cn/problem/P3771)]{open}给定树 $T$,边有非负边权,求加一条权值为 $L$ 的边后,直径的最小值。$n\le10^5$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/o183emfs:::
:::info[[$\color{#0e1d69}\textsf{P2020}$ [NOI2011] 兔农](https://www.luogu.com.cn/problem/P2020)]{open}Fibonacci 数列,但从 $f_3$ 开始,如果当前项模 $k$ 余 $1$,就将其减 $1$ 再继续递推,求 $f_n\bmod p$。$n\le10^{18}$,$k\le10^6$,$p\le10^9$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/2wtnj7xk:::
:::info[[$\color{#0e1d69}\textsf{P4338}$ [ZJOI2018] 历史](https://www.luogu.com.cn/problem/P4338)]{open}给定 $n$ 个点的树 $T$,点 $i$ 要被 access $a_i$ 次,求最大虚实边切换次数;还有 $q$ 次单点加操作。$n,q\le4\times10^5$。:::
:::success[Solution]{open}:::
:::info[[$\color{#9d3dcf}\textsf{P8879}$ 『STA - R1』Crossnews](https://www.luogu.com.cn/problem/P8879)]{open}给定序列 $a$,定义 $\text{unval}(a,b)=\sum_{i=1}^nb_i(b_i-a_i)$,求不降序列 $b$ 的 $\text{unval}$ 的最小值。$n\le10^6$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/rdbrqmxg:::
:::info[[$\color{#9d3dcf}\textsf{P16244}$ 【MX-X27-T5】重叠](https://www.luogu.com.cn/problem/P16244)]{open}对于字符串 $A,B$,设 $\text{ext}(A,B)$ 为提取 $A,B$ 相等位置得到的字符串。
给定 $n$,对于 $1\sim n$ 的每个 $m$,求有多少对长度为 $2n$ 的合法括号串 $A,B$,使得 $\text{ext}(A,B)$ 是深度恰好为 $m$ 的合法括号串。
$n\le203846$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/xui0xg80:::
:::info[[$\color{#9d3dcf}\textsf{P4541}$ [ZJOI2011] 细胞](https://www.luogu.com.cn/problem/P4541)]{open}给定数字串,求所有划分方案的 $\text{fib}_{\text{sum}-1}$ 之和,其中 $\text{sum}$ 为每段数值的和。取模。$n\le10^3$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/voyhkrts:::
:::info[[$\color{#0e1d69}\textsf{P2595}$ [ZJOI2009] 多米诺骨牌](https://www.luogu.com.cn/problem/P2595)]{open}给定 $n\times m$ 的带障碍的矩形,求有多少种放骨牌的方式,使得相邻每行每列间都存在横跨的骨牌。$n,m\le15$。:::
:::success[Solution]{open}https://www.luogu.com.cn/article/xy3z3pzv:::