Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:不知道你的500000怎么出来的了,感觉太小

Posted by zymx at 2006-01-09 20:15:13 on Problem 2720
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator