Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:不知道你的500000怎么出来的了,感觉太小In Reply To:不知道你的500000怎么出来的了,感觉太小 Posted by:frkstyc at 2006-01-09 20:10:14 50w有些trick,500w很显然: 10^7=1000w,对任何自然数b, 有b^n%2==b%2,所以,最大循环节<=500w。 这个值也足够过bt的数据。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator