leetcode/include/s0009_palindrome_number.hpp

15 lines
197 B
C++
Raw Permalink Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0009_PALINDROME_NUMBER_HPP
#define S0009_PALINDROME_NUMBER_HPP
2022-11-02 14:20:09 +00:00
#include <string>
2022-11-02 14:25:01 +00:00
#include <algorithm>
2022-11-02 14:20:09 +00:00
using namespace std;
2022-11-30 10:20:36 +00:00
class S0009 {
2022-11-02 14:20:09 +00:00
public:
bool isPalindrome(int x);
};
#endif