• 2024-11-06LeetCode9[回文数]
    题目链接LeetCode9[回文数]详情实例提示题解思路将数字转换为字符串然后将此字符串反转将反转之后的字符串和反转前的字符串比较若相等,则为回文数,否则不是回文数代码classSolution{public:boolisPalindrome(intx){charbuff[100]=