魏老四OJ
Home
ProblemSet
Source/Category
Contest
题单
Status
Ranklist
F.A.Qs
Login
1647: 【入门】判断四位数是否为对称数
Memory Limit:16 MB
Time Limit:1.000 S
:
Creator:
Submit:7
Solved:6
Submit
Statistics
Description
从键盘输入一个四位数,判断其是否为对称数(正过来和倒过来一样,比如1221,1331等等),如果是则输出yes,否则输出no
Input
输入一个四位数n(1000<n<9999)
Output
输出yes或者no
Sample Input
1234
Sample Output
no
Source/Category
分支问题
Submit
Statistics