摘要: 题目意思:int数字反转考虑:越界问题 1 class Solution { 2 public: 3 int reverse(int x) { 4 long ans=0; 5 while(x){ 6 ans=ans*10+x%10; 7... 阅读全文
posted @ 2015-06-20 09:21 影翕 阅读(226) 评论(0) 推荐(0) 编辑