Leetcode 9回文数

class Solution { public: bool isPalindrome(int x) { if(x<0)return false; if(x/10 == 0) return true; bool ans = false; int const_x =x; long y= 0;
相关文章
相关标签/搜索