| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:ZOJ AC,POJ WA……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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator