首頁:http://www.puzzleup.com/2010/
時限:2010/09/16(四)19:00~09/22(三)18:59
答案可上傳5次,但每改1次扣20分(基本分為100分)
在比賽期間內可隨時回答,但只有在時限內回答者有額外加分
◆Generating 4-Letter Codes
You will create a list of 4-letter codes using the 26 letters in the English
alphabet. The list should not include any code that can be obtained by
reversing the order of 2, 3 or 4 adjoining letters of another code in the
list.
For example, if the list includes ABCC, then it can't include codes BACC,
ACBC, CBAC, ACCB and CCBA.
At most how many codes can be in this list?
你想要使用英文的26個字母來作 一些全由4字母組成的code.
不過限制是:任意一個code都不能透過把另外一個code的連續2 or 3 or 4個字母反轉
而得到.
例如 如果已經有ABCC
這個list中就不能再有
BACC ACBC (反轉連續的兩個字母)
CBAC, ACCB (反轉連續的三個字母)
and CCBA (全反轉)
那麼這串list當中最多可以做出多少個code?
--
All Comments