数论
文章平均质量分 81
devYzhou
Be a man,do the right thing
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AUG13-The Number Of Solutions
Little Chief loves math. Most of all, he loves equations. He can solve any equation in the whole world. Recently he found one interesting and easy equation x1d+x2d+x3d ≡ m (mod N) Where x1, x2 and x原创 2013-08-06 21:17:33 · 1156 阅读 · 0 评论 -
hdu-4615 Partition
题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=4651 题目大意就是整数拆分 数据特别大,不能用以前的递归 所以。。。 不能百度 只能谷歌 http://en.wikipedia.org/wiki/Partition_%28number_theory%29 然后在里面找一个公式 Leonhard Euler's pe原创 2013-08-07 10:05:02 · 1263 阅读 · 0 评论 -
hdu-4704 (a^b)%c
http://acm.hdu.edu.cn/showproblem.php?pid=4704 求解(a^b)%c #include #include #include #include #define LL long long #define nnum 1000005 #define nmax 31625 int flag[nmax], prime[nmax]; int plen; void原创 2013-08-24 12:44:30 · 1143 阅读 · 0 评论
分享