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:ZOJ AC,POJ WA……

Posted by xcl119xcl at 2007-08-14 11:08:37 on Problem 1363
In Reply To:ZOJ AC,POJ WA…… Posted by:elephantmic at 2007-06-02 09:29:51
这个思想有问题:(至少 这个程序的思路有问题)
比如
7
7 5 4 3 2 1 6
结论应该是No
但是你的却是Yes

一种正确的算法思想是:
在一个序列中,某个数n,在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