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

windows的内存管理?疑惑中。。。。。

Posted by userfriendly at 2009-03-02 20:55:19 on Problem 1015
In Reply To:哈哈。第一次遇到MLE的情况。把int改成short就AC了。。 开心 Posted by:userfriendly at 2009-03-02 20:49:50
我的程序用运行时,未输入任何数据的情况下,用任务管理器查看内存,只是1M多,
输入数据开始计算后, 任务管理器中显示 内存暴涨到38M。

主要占内存的应该是我在全局空间开的大数组,但是这个数组的空间不是在程序开始运行时就申请好了的么? 难道windows会延迟内存分配到访问时? 

=/

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