Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:为什么这个代码把int f[30]放在main()里定义就RE了?癫狂....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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator