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:so

Posted by shezepo at 2010-03-06 11:39:53 on Problem 2185
In Reply To:so Posted by:tayu at 2005-10-10 14:53:48
你这样做AC了吗??
我觉得这个方法不对,一开始我也这样想,但后来注意到:
2 8
ABCCABAB
AAAABAAA
第一行的最小重复数为6,第二行为5,但第二行的重复数也可以为7,8。
按你那样算答案是16,但正确答案应该是12。

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