随笔分类 -  费马小定理

 
HDU 4704 Sum(隔板原理+组合数求和公式+费马小定理+快速幂)
摘要:题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=4704 Problem Description Sample Input 2 2 Sample Output 2 Hint 1. For N = 2, S(1) = S(2) = 1. 2. The in 阅读全文
posted @ 2017-06-30 10:39 Annetree 阅读(924) 评论(0) 推荐(0)