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:为什么这个代码把int f[30]放在main()里定义就RE了?癫狂....

Posted by smxjz at 2011-04-14 17:27:04 on Problem 3536
In Reply To:为什么这个代码把int f[30]放在main()里定义就RE了?癫狂.... Posted by:wangang at 2010-09-10 22:08:15
因为放在main()里定义是局部变量 又没赋初值所以就RE 全局变量默认的初值为0

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