摘要: 思路:打个表可以发现当 x>1 时 f(x) = x 所以 题目就是求 ∑ i^k 这个是需要用拉格朗日差值法求解 1 #include <cstdio> 2 const int Mod=998244353; 3 const int MAXK=1000000; 4 int power(int x,i 阅读全文
posted @ 2017-10-19 14:28 拿叉插猹哈 阅读(152) 评论(0) 推荐(0) 编辑