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 program_zest at 2011-01-19 11:50:45 on Problem 1789
In Reply To:Re:我想问下,为什么在main里面定义map[2000][2000]时候VC就超内存,而定义在main外面就行了呢?? Posted by:cyb88 at 2010-04-09 19:25:46
谢谢!

> 定义在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