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 magic_pig at 2003-10-31 22:46:12 on Problem 1505
In Reply To:如何才能不超内存? Posted by:wiltord at 2003-10-31 22:04:56
可以开一个二维数组,第二维的下标可以由第一维决定
float* memry[501]
int i;
for(i=500;i>=0;i--)memory[i]=new float[501-i];

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