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 JiangLY at 2005-06-04 23:27:32 on Problem 1014
In Reply To:好像先把大的数对某个小数取模然后搜索一下就ok了,也不知道这么做的道理。 Posted by:achilles at 2005-06-04 22:52:26
把公式化简为:
(N-M+1)*……*M
---------------
      M!

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