02 2023 档案
摘要:《具体数学》最重要的十个二项式系数恒等式 + 有了 modint 就没用过的 binom, qpow, mod & red(uce) 板子
阅读全文
摘要:https://vjudge.csgrandeur.cn/contest/544563 A CodeForces 1491E 斐波那契树 B CodeForces 1622E 期末考试 C CodeForces 1606D 红蓝矩阵 D CodeForces 1586E 加权 E CodeForce
阅读全文
摘要:## problem 现在有一条数轴, 表示当前时刻。在 时 Bessie 恰好处在 的位置。 接下来,每秒钟 Bessie 会向左或者向右移动一个单位距离,我们保证 Bessie 是在 的位置之间移动并最终停在 的位置。同时,我们有一个 $A_
阅读全文
摘要:一种字符串的自动机。 ## problem 有一个字符串 ,初始时为 ,现在进行 次操作,第 次操作形如: - 将 中的所有的字符 替换为字符串 。 然后输出 的所有字符。 为全体小写字
阅读全文
摘要:## problem 给两个长为 的 0/1 字符串 ,进行如下操作 次: - 自行选定 $0\leq x 点击查看代码 ``` #include #include #include #include using namespace std; #ifdef LOCAL
阅读全文