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),就不應該輸出這個回文。
Write a logical condition that will check if a scalar is defined , non - zero , a palindrome the same backwards and forward , or the number 234 . 98 編寫一個邏輯條件,該條件將檢查一個標量是否已定義、是否是非零、回文(向前讀和向后讀都一樣)或者是數(shù)字234 . 98 。
a word or phrase that reads the same backward as forward
百科解釋
A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction.with general allowances for adjustments to punctuation and word dividers.