This commit is contained in:
2022-11-30 18:20:36 +08:00
parent b13cfa00bb
commit 72555b19e0
132 changed files with 332 additions and 334 deletions

View File

@@ -1,6 +1,6 @@
#include "s0009_palindrome_number.hpp"
bool Solution::isPalindrome(int x) {
bool S0009::isPalindrome(int x) {
string s = to_string(x);
string r = s;
reverse(r.begin(), r.end());