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 书写形式变异的英文诗与中国的回文结构诗
If two or more occurrences of the same palindromes are found in the same input line , report only once 如果在一个输入行中发现了两个或多个相同的回文,只输出一个。
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 但是,当一个回文出现在另一个回文的中心部位时,无论是否也在其他位置出现,就不应该输出这个回文。
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 编写一个逻辑条件,该条件将检查一个标量是否已定义、是否是非零、回文(向前读和向后读都一样)或者是数字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.