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 lydrainbowcat at 2011-09-12 09:27:40 on Problem 3214
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:
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