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:怎么计算那么大的数啊?高精度吗,还是另有技巧?

Posted by a8874109 at 2006-07-28 10:33:20 on Problem 2167
In Reply To:怎么计算那么大的数啊?高精度吗,还是另有技巧? Posted by:tq at 2005-01-27 16:42:50
> 如果我没理解错题目的话~~
> 应该是算N-1的所有组合数,
> 然后看是否能整除M.
> 如果能的话,就是一个答案.
> 比如题目给的2,3
> 3-1=2
> 2的排列数分别为 1,2,1
> 其中能整除2的就是第二个,对不对啊?
> 
> 如果这样的话,10 000的排列数难算不说,
> 还得看是否能整除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