有一個法官被一個問題困擾著,就是那些被陪審團傳喚的人常常用很多沒說服力的藉口來逃避回答陪審團的問題。為了節省時間不要聽那些蠢理由,他請你為他寫一支程式在一堆藉口中搜尋清單中的關鍵字以找出那些沒說服力的藉口。你必須找出藉口中的關鍵字無論大寫小是否相符。
輸入包含許多組資料。
對每組輸入的資料你必須輸出清單中最爛的那個藉口。
對每組輸入的資料,你必須先輸出字串``Excuse Set #"代表這是第幾組待測資料(參見sample output)。接下來的數列輸出最爛的那些藉口,以讀入的格式輸出,如果有超過一個最爛的藉口你可以用任何順序一列一列輸出。
5 3 dog ate homework canary died My dog ate my homework. Can you believe my dog died after eating my canary... AND MY HOMEWORK? This excuse is so good that it contain 0 keywords. 6 5 superhighway crazy thermonuclear bedroom war building I am having a superhighway built in my bedroom. I am actually crazy. 1234567890.....,,,,,0987654321?????!!!!!! There was a thermonuclear war! I ate my dog, my canary, and my homework ... note outdated keywords?
Excuse Set #1 Can you believe my dog died after eating my canary... AND MY HOMEWORK? Excuse Set #2 I am having a superhighway built in my bedroom. There was a thermonuclear war!
* Luck 貓翻譯
編號 | 身分 | 題目 | 主題 | 人氣 | 發表日期 |
27285 | alison.acorn ... (aa w) | c114 | 628 | 2021-09-21 22:09 |