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:仔细看看有没有可能哪里数组越界吧,runtime error,问为什么就是程序有问题In Reply To:仔细看看有没有可能哪里数组越界吧,runtime error,问为什么就是程序有问题 Posted by:hawk at 2005-04-26 23:45:35 > 这里好多题目数据都加了的 > 递归也可以看一下,会不会溢出 题目说 n, m and d will satisfy 1 <= n < m <= 1000, and 2 <= d <= 10. 我把num数组开到10001,我觉得已经满足题目了(最大1000*10),15ms Runtime error 开到50001,68ms Runtime error,开到100001,125ms Runtime error 晕倒 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator