[BZOJ1951][SDOI2005]古代猪文(数论好题) 题目:http://www.lydsy.com:808/JudgeOnline/problem.php?id=1951 分析: 练习数论知识的好题,涉及到费马小定理、lucas定理、求逆元