class Solution {
public:
bool isSameAfterReversals(int num) {
if (num%10!=0 || num == 0) return 1;
else return 0;
}
};
LeetCode 2119. 反转两次的数字
于 2022-07-24 20:42:45 首次发布
class Solution {
public:
bool isSameAfterReversals(int num) {
if (num%10!=0 || num == 0) return 1;
else return 0;
}
};