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

这题是不是有问题-明显存在反例啊?还是我理解有问题

Posted by xtchenhui at 2010-08-22 13:31:49 on Problem 2085
按照题目中给出的判断序列大小的方法,存在k对于1<=j<k,aj=bj,ak<bk, 对于case
5 9
明显 5 4 3 1 2 这个序列比sample给出的 4 5 3 2 1 要小(i=3,k=4)啊,
但是 5 3 4 2 1 这个序列又比
5 4 3 1 2要小(i=1,k=2)...所以 4 5 3 2 1怎么算也不是正确答案啊!

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