![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uva
文章平均质量分 80
Scarlett在努力
互联网爱好者
展开
-
UVA1583 - Digit Generator(生成元,打表)
For a positive integer N, the digit-sum of N is defined as the sum of N itself and its digits. When M is the digitsum of N, we call N a generator of M.For example, the digit-sum of 245 is 256 (=原创 2015-08-26 16:34:39 · 1574 阅读 · 0 评论 -
判断一个字符串是否为回文串和镜像串(Palindromes)
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef原创 2015-08-14 17:07:09 · 3696 阅读 · 3 评论