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 raoxiaojia at 2009-09-02 19:34:41 on Problem 1321
In Reply To:请大牛解释一下我的程序内存为什么这么大(给出程序定义部分) Posted by:jackland at 2007-08-31 15:50:30
> Program pku1321;
> 
>  const
>         fin = '';
>         fout= '';
> 
>  Var
>        
>         col             : Array [1..10] of Boolean;
>         map             : Array [1..10,1..10] of Longint;
>         n,k,ans              : Longint;
> 
> 244K	15MS	Pascal
> 
> 另外过程内定义了2个longint , 1个char...太郁闷了 , 求助大家

Pascal 编译器好像自己还要用一些内存的,大约200K多。你就是什么也不定义直接输出,也要用200多K内存

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