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:我想问下,为什么在main里面定义map[2000][2000]时候VC就超内存,而定义在main外面就行了呢??

Posted by cyb88 at 2010-04-09 19:25:46 on Problem 1789
In Reply To:我想问下,为什么在main里面定义map[2000][2000]时候VC就超内存,而定义在main外面就行了呢?? Posted by:HUANGLIANZHENG at 2010-04-05 13:45:42
> RT
定义在main()里面就是用的栈空间啊,一般会报stack overflow的错误,定义在外面用的就是全局数据区了

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