Write a program that finds palindromes in input lines 編寫一個程序找出在輸入行中的回文。
A note on the complexity of c-palindromes 回文字復雜性的一點注記
The third script, the palindrome detector, did not originally have the 第三個腳本是回文檢測器,它最初沒有
I added that to catch those palindromes like " bob " that are not the same backwards 我添加了該段以捕捉那些類似“bob”的不完全相同的回文。
A comparison of special prosodies of english and chinese poetry : english typographical poems and chinese palindrome poems 書寫形式變異的英文詩與中國的回文結(jié)構(gòu)詩
If two or more occurrences of the same palindromes are found in the same input line, report only once 如果在一個輸入行中發(fā)現(xiàn)了兩個或多個相同的回文,只輸出一個。
When a palindrome overlaps with another, even when one is completely included in the other, both should be reported 當一個回文與另一個回文交迭時,即使一個完全包括在另一個中,也應該輸出兩個。
One line should be output corresponding to one input line . if an input line does not contain any palindromes, an empty line should be output 對于每一個輸入行,應該輸出一行。如果一個輸入行不包括一個回文,應該輸出一個空行。
However, palindromes appearing in the center of another palindrome, whether or not they also appear elsewhere, should not be reported 但是,當一個回文出現(xiàn)在另一個回文的中心部位時,無論是否也在其他位置出現(xiàn),就不應該輸出這個回文。
However, palindromes appearing in the center of another palindrome, whether or not they also appear elsewhere, should not be reported 但是,當一個回文出現(xiàn)在另一個回文的中心部位時,無論是否也在其他位置出現(xiàn),就不應該輸出這個回文。