摘要: http://www.lydsy.com/JudgeOnline/problem.php?id=3122 (题目链接) 题意 对于一个数列${X_i}$,其递推式为:${X_{i+1}=(a*X_i+n)~mod~P}$,求最小的${i}$满足${X_i=t}$。 Solution 大家还记得数学中 阅读全文
posted @ 2016-12-21 15:26 MashiroSky 阅读(253) 评论(0) 推荐(1) 编辑