Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
每个字母都得连通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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator