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:仔细看看有没有可能哪里数组越界吧,runtime error,问为什么就是程序有问题

Posted by noskill at 2005-04-26 23:53:21 on Problem 2034
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:
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