1 2 3 4 5 ··· 8 下一页
摘要: 索引 阅读全文
posted @ 2022-11-09 18:52 pref_ctrl27 阅读(34) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-09-17 23:24 pref_ctrl27 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 分析复杂度时可能有用。(主定理狗都不学) 若有递归式 $T(n)=aT(\dfrac{n}{b})+f(n)$ 则分以下三种情况: + $f(n)=O(n^{\log _ b a-\epsilon}),\epsilon>0$,此时 $T(n)=\Theta(n^{\log_ b a})$ + $f( 阅读全文
posted @ 2023-07-27 20:43 pref_ctrl27 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Useless 阅读全文
posted @ 2023-06-30 19:02 pref_ctrl27 阅读(22) 评论(0) 推荐(1) 编辑
摘要: 叹息。 阅读全文
posted @ 2023-05-28 21:31 pref_ctrl27 阅读(26) 评论(0) 推荐(0) 编辑
摘要: DP 设置 $\pm\infty$ 时要特判,防止爆 long long(挂 $13\rm {pts}$) 阅读全文
posted @ 2023-04-29 14:45 pref_ctrl27 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 神仙题 阅读全文
posted @ 2023-04-28 15:57 pref_ctrl27 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 自用 阅读全文
posted @ 2023-04-26 00:09 pref_ctrl27 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 被初中组薄纱 阅读全文
posted @ 2023-04-21 08:16 pref_ctrl27 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 杂题咋做啊 阅读全文
posted @ 2023-03-12 21:44 pref_ctrl27 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 即 $\forall i$,求 $z_i=|\operatorname{lcp}(s,s[i:n])|$ 考虑类似 Manacher,用增量法求解。 考虑对于一个 $i$,称 $[i,i+z_i-1]$ 为 $i$ 的匹配段,记为 $[l,r]$,考虑最大的 $r$ 对应的匹配段 $i>r$,此时直 阅读全文
posted @ 2023-02-27 09:20 pref_ctrl27 阅读(23) 评论(0) 推荐(0) 编辑
摘要: /bx @Alphaban 阅读全文
posted @ 2023-02-23 10:45 pref_ctrl27 阅读(27) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 8 下一页