Live2D
摘要: 题目传送门 Description 有一个长度为 \(n\) 的 \(01\) 串,你可以每次将相邻的 k 个字符合并,得到一个新的字符并获得一定分数。 得到的新字符和分数由这 k 个字符确定。你需要求出你能获得的最大分数。 \(n\le 3\times 10^2,k\le 8\) Solution 阅读全文
posted @ 2021-02-01 21:26 Dark_Romance 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 题目传送门 Description 给出 \(n=\prod_{i=1}^{w}p_i^{a_i}\) 求出: \(\sum_{i=1}^{n}[\gcd(i,n)=1]i^d\) \(d\le 10^2,w\le 10^3\),答案对 \(10^9+7\) 取模。 Solution \(\sum_ 阅读全文
posted @ 2021-02-01 10:00 Dark_Romance 阅读(68) 评论(0) 推荐(0) 编辑