leetcode/include/s0009_palindrome_number.hpp

15 lines
192 B
C++
Raw Normal View History

2022-11-02 14:20:09 +00:00
#ifndef S0009_PALINDROME_NUMBER
#define S0009_PALINDROME_NUMBER
#include <string>
2022-11-02 14:25:01 +00:00
#include <algorithm>
2022-11-02 14:20:09 +00:00
using namespace std;
class Solution {
public:
bool isPalindrome(int x);
};
#endif