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

还是miller测试直接吧~~~不然怎么判断分解不了?

Posted by achilles at 2005-07-09 12:43:16
In Reply To:Re:可以的,如果分解不了的话,写成返回自身,这样加个判断,就知道是不是质数了 Posted by:yesiam at 2005-07-09 12:11:45
> 是不是做足够多次还没有发现因子就说这个数分解不了?

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