ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1078. Segments

Advice for who WA#7or#8 给WA7|WA8的建议
Posted by grayluck 13 Oct 2009 06:42
(On^2)use:
f[j-1]<=b[i]
{means that (a=2,b=3)and(a=3,b=3) are contain too}
是最长不下降(不是上升)子序列..记得判断上个的a个当前a是否不同。