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

分解模数,再用中国剩余定理解回去

Posted by wanglei at 2007-10-07 20:44:25
In Reply To:谁能说一下 jlu E题 当情况为a**c! c很大的时候这么办 Posted by:Reset at 2007-10-07 20:01:26
而且模数总是2^x*5^y形式的
对于a!%m只要看a是一个比较大的数,就有足够多的2和5,
否则直接算

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