C. 判断字符串是否是回文

    Type: Default 1000ms 256MiB

判断字符串是否是回文

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【问题描述】

输入一个字符串,输出该字符串是否回文。回文是指顺读和倒读都一样的字符串。

【输入格式】

输入为一行字符串(字符串中没有空白字符,字符串长度不超过100)。

【输出格式】

如果字符串是回文,输出yes;否则,输出no。

【样例数据】

abcdedcba
yes

字符串单元小练习

Not Attended
Status
Done
Rule
OI
Problem
7
Start at
2025-11-29 17:45
End at
2025-11-29 20:45
Duration
3 hour(s)
Host
Partic.
10