Did you know?A palindrome is a number which reads the same f

sytcici2022-10-04 11:39:544条回答

Did you know?A palindrome is a number which reads the same forwards as backwards e.g.35453.Next year 2002 is an example of a palindromic number.What is the difference between 2002 and the number of the previous palindromic year?

已提交,审核后显示!提交回复

共4条回复
陈小雷 共回答了17个问题 | 采纳率88.2%
The previous palindromic year is 1991.
The difference between 2002 and 1991 is 11.
1年前
shy汉子 共回答了14个问题 | 采纳率
1991年吗,难道是?
1年前
qiancao2003 共回答了10个问题 | 采纳率
1001
你知道么?回文数是一种无论从左向右读还是从右向左读,读数都相同的数字.例如:35453.明年,即2002年便是一个回文数的例子.那么,2002和之前那些回文年数有什么不同呢?
1年前
ylwyh 共回答了12个问题 | 采纳率
yes the previous one is 1991.
the difference between them is 11
1年前

相关推荐

【问题描述】编写一函数palindrome(char* s)用于判断任一字符串是否是回文(即顺序读与反序读一样,例如“A
【问题描述】
编写一函数palindrome(char* s)用于判断任一字符串是否是回文(即顺序读与反序读一样,例如“ABCBA”、“121”等)。
【输入】
输入文件有多组测试数据。第一行有一个整数n,它是测试数据组数,(n≤20)。接下来有n行,每行至多有m个字符,(m≤1000)。但是,每一行末尾处的换行字符不能作为这一行的内容。
【输出】
对每一组测试数据,在一行上输出你的判断结果。若是回文串,则输出“YES!”,否则输出“NO!”。
(主函数调用判别函数并输出判别结果)。
【输入样例】
3
ABCBA
121
ABCA
【输出样例】
YES!
YES!
NO!
martinq1年前1
krbde9 共回答了20个问题 | 采纳率90%
/* 判断回数 */
#include
#include
int palindrome(char *p) //判断是否是回数,是则返回1,不是则返回0
{
int i,j;
for(i=0,j=(int)strlen(p)-1;i
A palindrome is a whole number that reads the same forwards
A palindrome is a whole number that reads the same forwards and backwards.If one neglects the colon.Certain times during a 12-hour period will be palindromes?
(A)57 (B)60 (C)63 (D)90 (E)93
安静听歌1年前1
喝茶之辈 共回答了22个问题 | 采纳率95.5%
DId you know A palindrome is a number which reads the same f
DId you know A palindrome is a number which reads the same forwards as backwards e.g.35453.Next year 2002 is an example of a palindromic number.What is the difference between 2002 and the number of the previous(以前) palindromic year?
1小时后就不要了!
logenalba1年前1
sdgt1969 共回答了19个问题 | 采纳率89.5%
请看如下答案:
The nearest previous palindromic year is 1991.
The others are like 1001,1881,1771,1661,1551,1441,1331,1221.1111 etc.