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 cotton at 2011-01-25 15:18:14 on Problem 1080
In Reply To:一直WA改了一个小地方就AC了,不明白,请各位大牛帮忙看一下 Posted by:cotton at 2011-01-25 15:03:54
cmp(i-1,j) 也有三种情况,我原先的程序直接调用cmp(i-2,j-1) ,就是想当然地选取了其中的一种,忽视另外两种情况,比起cmp(i-1,j)的调用,可能分数偏低。
不知道我的理解是否正确,希望大牛门回复一下,不胜感激

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