摘要:
1 class Solution { 2 public: 3 bool isPalindrome(int x) { 4 int r=0,init=x; 5 if(init==0) return true; 6 if(init<0) ... 阅读全文
posted @ 2014-11-07 13:52
xcw0754
阅读(186)
评论(0)
推荐(0)
摘要:
文章转自http://blog.163.com/hljmdjlln@126/blog/static/5473620620120412525181/ 做LC上的题"Palindrome number"时翻到此文章,经过少量修改后如下。 回文数是数学界中的一种有趣的现象。比如121就是一个回文数。回文数 阅读全文
posted @ 2014-11-07 13:24
xcw0754
阅读(1698)
评论(0)
推荐(0)

浙公网安备 33010602011771号