leetcode 9:迴文數

bool isPalindrome(int x) { vector<int> a; if(x<0) return false; if(x==0) return true; if(x>0){ while(x/10!=0){ a.pus
相關文章
相關標籤/搜索