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 |
用bool可以In Reply To:这里用素数筛法,不会内存空间不够么,求高手正解 Posted by:shiyimin at 2013-03-15 15:36:51 const int MAX = 1000000; bool a[MAX]; 然后开始筛…… 或者int *a = new int[MAX];也可以搞定 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator