Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:筛法求质In Reply To:Re:筛法求质 Posted by:lsz2013 at 2013-11-02 18:05:36 我一开始就是这样做的!但在本地都过不去!因为我一定义数组大小为1000000的运行就报错,少一个0就行! 很无语。不知道LZ怎么ac的! 感觉本题根本没法用筛法求素的方法,我用了动态数组也不行! 只有去暴力判断素数了! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator