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:筛法也超时??只有6个0啊~~哪位高手帮忙看看啊~~

Posted by ytmsdy at 2008-10-20 16:52:38 on Problem 2262
In Reply To:筛法也超时??只有6个0啊~~哪位高手帮忙看看啊~~ Posted by:ding59 at 2008-10-20 10:36:40
为什么用两个for 啊??
一个就好了啊,一个枚举了以后,另外一个就可以算出来了,然后在看看另外那个是不是素数就好了

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