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

Re:怎么dp呀,想了半天没有头绪

Posted by ssadwlll at 2008-03-25 12:30:23 on Problem 1496
In Reply To:怎么dp呀,想了半天没有头绪 Posted by:Cathy11 at 2008-03-23 15:39:21
定义一个26*4的数组,每组存放N个字符以A开头到Z开头的组合数,每行末尾放这行的总数。第一行存放两个字母的,依次类推。
我AC了,0MS,180K,在浙江大学上试了一下0MS,384K,第一次排在第一个,高兴ing.

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