判断字符串是否为回文
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.
题目描述
输入一个字符串,输出该字符串是否回文。回文是指顺读和倒读都一样的字符串。
输入格式
输入一行字符串,长度小于 。
输出格式
如果字符串是回文,输出 yes
;否则,输出 no
。
abcdedcba
yes
初一从0开始学C++(字符串)
- Status
- Done
- Problem
- 7
- Open Since
- 2024-3-18 0:00
- Deadline
- 2024-6-30 23:59
- Extension
- 24 hour(s)