leetcode/include/s0009_palindrome_number.hpp

15 lines
197 B
C++

#ifndef S0009_PALINDROME_NUMBER_HPP
#define S0009_PALINDROME_NUMBER_HPP
#include <string>
#include <algorithm>
using namespace std;
class S0009 {
public:
bool isPalindrome(int x);
};
#endif