-->
当前位置:首页 > 题库 > 正文内容

编程题:central list

Luz3年前 (2021-10-14)题库709
If a list is central symmetry, it is called a central list. for example, 1->3->5->7->9->7->5->3->1 is a central list.
Give you a sequence of numbers, form a link list and then judge whether it is a central list.



### 输入格式:

A sequence of numbers seperated by comma

### 输出格式:

If it is a central list output Yes, otherwise No

### 输入样例:



in
1,3,5,7,9,7,5,3,1,



### 输出样例:



out
Yes








答案:若无答案欢迎评论

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。