CSDN个人博客地址:https://blog.csdn.net/qq_38944163 欢迎大家来踩
10 2021 档案
摘要:https://www.luogu.com.cn/problem/AT1983 由基本的组合数知识,我们知道 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2396 不难发现,如果在一个 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT1999 考虑将 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT4363 发现奇数位和偶数位的逆序对个数互不影响 奇数位上的数...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT5014 感觉是经典套路题,不过不知道为啥luogu没什么人做...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF734E 哈啤题 首先缩点 考虑一条链,一定是选中点然后点 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1286D 经典套路题 首先碰撞的一定是相邻两个,然后要么是相...
阅读全文
摘要:https://www.luogu.com.cn/problem/P7044 首先考虑 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT3621 考虑x可以怎么变换 可以变成 ...
阅读全文
摘要:不知道为什么这两天一直在讨论喷射 甚至有老哥说要喷射上广州塔,环游广州 然后就有几个人喷射了…… Day 0 随便打了下板子,去se...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2306 和这道题有点像AT1984 [AGC001F] Wi...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2307 考虑枚举一个点 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2064 考虑每个点 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2062 考虑建一个二分图,然后向 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2371 首先把转移方程列出来 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2370 套路题 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT1984 以下大量引用🐟大的blog 主要是这几个推论比...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2172 挺妙的一道题 首先可以二分答案 考虑一个最暴力的可行...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2567 成功被降智 首先当前位置填3个颜色的方案数是一样的(...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF128C 行列分开考虑,然后再乘起来 容易发现,对于行,其实就...
阅读全文
摘要:https://www.luogu.com.cn/problem/P6822 是个NB套路题 首先把无向边变成两条有项边 然后边变成...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2289 最后的路径肯定是一段单向的路,假设从右往左走 先假设...
阅读全文
摘要:https://www.luogu.com.cn/problem/P5377 考虑欧拉公式 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/P6192 分两种情况转移 设 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/P5382 写一波传递闭包就行了 其余不难,可以用bitset优化...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2346 发现 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/P4782 看这篇讲解吧 https://www.luogu.co...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1305G 考虑把边变成 ...
阅读全文
摘要:Day1 http://zhengruioi.com/contest/1005 我是傻狗,4道憨批题都不会 分析题全挂,不愧是你 考...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2161 考虑DP 设 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2272 首先要注意到xor是不进位的加法 所以加法可以表示成...
阅读全文
摘要:只有循环同构的字符串才能互相转换 考虑循环节的长度为 d ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2148 考虑维护一个堆,每次拿出最上面一个,然后把和它相邻的...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2038 考虑根号分治 对于 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/P7476 考虑树套树,每个节点维护一个大根堆 然后如果要删掉为堆...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT3857 首先发现假设和为 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1342E 一看就很容斥 第一个限制条件相当于强制每行都有或每...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT3945 考虑 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF627E 考虑扫描线,枚举上界,拓展下界,显然不太好做(不知道...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1427E 首先设 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT4168 高维前缀和 这题每一位都是 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1004D 分析题 首先可以通过镜像和旋转使得0在第二象限(左...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF338E 转换一手 令 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF431D 首先 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF486D 考虑树形DP 强制每个联通块的根为最大的那个数(如果...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF446B 行列分开考虑(用优先队列)搞出最大的前 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1416B 显然如果总和不是n的倍数,那么必然无解 考虑先把所...
阅读全文
摘要:https://www.luogu.com.cn/problem/CF1244C 先把下面那个条件转换一下变成 ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2022 首先可以发现最终答案只和长度有关,和字符串具体是什么...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT2021 子供向dp 简单dp, ...
阅读全文
摘要:https://www.luogu.com.cn/problem/AT1974 根据简单的组合数可以知道从 ...
阅读全文