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:找到组数据...发现程序一个大错误...

Posted by easonmz at 2013-04-21 15:04:56 on Problem 1661
In Reply To:找到组数据...发现程序一个大错误... Posted by:vrqq at 2010-04-22 21:10:49
> 在dp完以后,统计时,挂掉了...
> 对于同一层直接跳向地下时的处理,判断有个小错...
> 附测试数据一组...
> 1
> 10 899 52 50
> 893 903 18
> 890 900 38
> 898 908 8
> 910 920 8
> 894 904 43
> 881 891 18
> 872 882 38
> 867 877 43
> 842 852 43
> 895 905 3
> 
> Ans:
> 61
> 顺序是:
> 第一步:第5块 Time=9 向右
> 第二步:第3块 Time=49 向右
> 然后直接跳向地,
> 第3块和第4块是同高的,因此如果输出前判断有bug,可能就会出such as:66
> 注意66是错的...
> 
> wa了很久了...

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