A. 判断字符串是否为回文

    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.

Description

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

Input Format

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

Output Format

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

abcdedcba

yes

2025-10-25-周训练

Not Attended
Status
Done
Rule
XCPC
Problem
9
Start at
2025-10-25 14:30
End at
2025-10-25 17:30
Duration
3 hour(s)
Host
Partic.
38