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 20053565 at 2008-04-21 18:00:52 on Problem 3566
In Reply To:这题究竟要干什么... Posted by:Acsaga at 2008-04-21 17:53:32
> 不是只要保证任意两个字母都至少有一对相邻就行了吗?
> 比如输入是7
> 
> 我输出 
> 1 14 7
> AAABACADAEAFAG
> BABBBCBDBEBFBG
> CACBCDCDCECFCG
> DADBCDDDDEDFDG
> EAEBCDEDEEEFEG
> FAFBCDFDFEFFFG
> GAGBCDGDGEGFGG
> 
> 第一行保证A和所有字母都相邻,第二行保证B和所有字母都相邻,以此类推。。。怎么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