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 |
我却是怎么都WA。。。In Reply To:本题数据有错 Posted by:Ikki at 2005-08-05 13:23:09 > for(i=2;i<=n;i++) > for(j=1;j<i;j++) > if(f[j]+1>f[i]&&a[j]<a[i]) > f[i]=f[j]+1; > > 我把a[j]<a[i]改成a[j]<=a[i]就wa了…… Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator