摘要: class Solution { public: int reverse(int x) { int res = 0; while (x != 0) { int t = res * 10 + x % 10; if (t / 10 != res) return 0; res = t; x /= 10; 阅读全文
posted @ 2017-01-30 23:54 王坤1993 阅读(161) 评论(0) 推荐(0)