摘要: Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901) 阅读全文
posted @ 2019-09-22 13:27 Unknown_Island 阅读(160) 评论(0) 推荐(0) 编辑
摘要: int dp[maxn][maxn]; signed main() { /*n个盘 m座塔*/ int n,m; n=31,m=31; /*初始化动规边界*/ dp[2][1]=1;//初始化两座塔的情况 for(int i=3; i3 */ for(int i=4; i<=m; ++i){ for(int j=... 阅读全文
posted @ 2019-09-22 11:32 Unknown_Island 阅读(301) 评论(0) 推荐(0) 编辑