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 |
本题数据有错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