摘要: Link. Codeforces Luogu Description. 给定一个序列,问有多少种合法情况,使得它的权值最大。 一个序列 \(\{a_i\}\) 合法,当且仅当: \(\forall i\in[1,n],a_i\in[L,R]\) 一个序列 \(\{a_i\}\) 的权值定义为 \(\ 阅读全文
posted @ 2021-07-27 18:51 Peal_Frog 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Link. Codeforces Luogu Description. 定义一张图是 \(n\) 完美图当且仅当: 有 \(2^n(n\in\mathbb N)\) 个点和 \(n\times 2^{n-1}\) 条边 \(\forall x,y\),\(x\) 和 \(y\) 有边当且仅当 \(x 阅读全文
posted @ 2021-07-27 13:43 Peal_Frog 阅读(154) 评论(0) 推荐(1) 编辑