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

n可能大于21252

Posted by kilper at 2009-08-19 16:21:16 on Problem 1006
In Reply To:结果完全正确,可为什么不能AC呢?大家帮帮忙,看一下 Posted by:390738878 at 2009-07-17 10:59:12
我找了官方的29组数据
发现n是会大于21252的
应该是n-d<=21252

不过改过之后你去测试这一组数据看看
114 162 154 15
输出答案应该是7 days
这一组数据n-d还是大于21252  
PS:我的程序是从1开始加上去测试的 ,所以我说的n是加上去的n

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