摘要: 题意 给定两个整数 \(n,m\),求 \(\sum\limits_{i=1}^{n}\frac{1}{\prod\limits_{j=i}^{i+m-1}j}\) \(\texttt{Data Range:}1\leq n+m\leq 500\) 题解 小学奥数,裂项相消。 比如说有如下例子: \ 阅读全文
posted @ 2020-10-12 21:12 Karry5307 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 题意 给定五个整数 \(n,f_1,f_2,f_3,c\),其中数列 \(f\) 满足以下递推式: \(f_x=c^{2x-6}f_{x-1}f_{x-2}f_{x-3}\) 求 \(f_n\)。 \(\texttt{Data Range:}4\leq n\leq 10^{18},1\leq f_1 阅读全文
posted @ 2020-10-12 09:02 Karry5307 阅读(168) 评论(0) 推荐(1) 编辑