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:哦,知道了In Reply To:为啥把<转为<=就AC,而把<=转为<就WA呢 Posted by:lydrainbowcat at 2011-09-12 09:19:58 比如对于5<6<6<7<8这个式子,最长上升子序列是4,也就是说算出来是只需要变化1个 但是实际上需要变化两个,因为那个6变成5或者6都不行,因为两边是小于号 而如果转化为小于等于的话,就可以变成它左右两边的任意一个~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator