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

严重鄙视,要求改数据rejudge!!!!!

Posted by suzhan at 2005-08-05 13:34:43 on Problem 2533
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:
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