摘要: "传送门" 题意: 求$\displaystyle \sum_{i=1}^n i^mm^i,n\leq 10^9,m\leq 1000$。 思路: $m$比较小,考虑从$m$入手进行递推: 设$f(j)=\sum_{i=1}^ni^jm^i$,则$mf(j)=\sum_{i=1}^ni^jm^{i+ 阅读全文
posted @ 2020-04-21 09:00 heyuhhh 阅读(196) 评论(0) 推荐(0) 编辑
摘要: A. 组队比赛 签到。 Code cpp / Author: heyuhhh Created Time: 2020/4/18 12:10:50 / include include include include include include include include include incl 阅读全文
posted @ 2020-04-21 08:51 heyuhhh 阅读(369) 评论(0) 推荐(0) 编辑