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:内存限制是65536K,计算一下就知道了

Posted by linandmin at 2006-05-05 01:47:05 on Problem 2262
In Reply To:内存限制是65536K,计算一下就知道了 Posted by:RoBa at 2006-05-03 13:40:06
不是内存的问题。是这一句的问题:
for(j=i;i*j<N;j++)
    number[i*j]=true;
我把i,j改成__int64就过了。

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