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 |
看我最后给你的回复In Reply To:请指教! Posted by:wqfcr at 2003-12-10 16:36:56 题目没告诉你多少组,你自做主张申请了50个 如果测试数据超过50(而且是必然的),那么你程序就访问了其他内存,那么产生任何错误都有可能。 在这里就是a[i]不在有意义,所以可能很久都不等于-1,所以i就比正常大很多。那么你就会比正常的输出多很多。 所以output limit exceed,明白了? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator