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:大牛请看代码,为什么WA

Posted by liushijian at 2010-01-04 20:14:24 on Problem 3126
In Reply To:Re:大牛请看代码,为什么WA Posted by:liushijian at 2010-01-04 20:12:19
> for(int i=2; i<sqrt(b)+1; i++)
> 也许是这里,试试吧
比如9,不加一就判断为素数了

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