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

把V设大点就过

Posted by eminemxh at 2007-04-11 23:04:54 on Problem 3211
In Reply To:测了很多数据就是不知道错哪里,帮看一下程序. Posted by:gdufs_lin at 2007-04-07 22:33:30
总共可以有100件衣服,
每件衣服的时间最多是1000
因此你的v的大小至少是[100][100*1000]
(考虑到你的下标从1开始,再把上面那个写大一点)
把v放到全局变量就可以编译了
你的是AC的

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