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;
相關文章
相關標籤/搜索