#10688. 判断字符串是否为回文
判断字符串是否为回文
Description
输入一个字符串,输出该字符串是否回文。回文是指顺读和倒读都一样的字符串。
Input Format
输入为一行字符串(字符串中没有空白字符,字符串长度不超过100)。
Output Format
如果字符串是回文,输出yes;否则,输出no。
abcdedcba
yes
Related
In following contests:
输入一个字符串,输出该字符串是否回文。回文是指顺读和倒读都一样的字符串。
输入为一行字符串(字符串中没有空白字符,字符串长度不超过100)。
如果字符串是回文,输出yes;否则,输出no。
abcdedcba
yes
In following contests:
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.