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

搞了半天,原来挂在细节上了...

Posted by Ever_ljq at 2011-03-05 22:39:23 on Problem 1947
{
ans = f[1][m];
for (int i = 2; i <= n; i++)
	if (f[i][m] + 1 < ans) ans = f[i][m] + 1;
}
这样写才对。

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