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

这里用素数筛法,不会内存空间不够么,求高手正解

Posted by shiyimin at 2013-03-15 15:36:51 on Problem 2262
这里n可能取1000000,如果开mark[1000000]的数组,不会runtime error么。。。
我是用扫描+素数判断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