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 lsz2013 at 2013-11-02 18:13:23 on Problem 2262
In Reply To:Re:筛法求质 Posted by:lsz2013 at 2013-11-02 18:05:36
我一开始就是这样做的!但在本地都过不去!因为我一定义数组大小为1000000的运行就报错,少一个0就行! 很无语。不知道LZ怎么ac的! 感觉本题根本没法用筛法求素的方法,我用了动态数组也不行! 只有去暴力判断素数了!

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