mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 23:07:08 +00:00
Time: 22 ms (83.27%), Space: 13.2 MB (88.06%) - LeetHub
This commit is contained in:
@@ -18,7 +18,6 @@ class Solution(object):
|
||||
for i in range(1, 10):
|
||||
xMod10i = x % (10**i)
|
||||
reversedMax = REVERSED_MAX_32_VALUE % (10**i)
|
||||
print("i:" + str(i) + "->" + str(xMod10i) + " " + str(reversedMax))
|
||||
if xMod10i > reversedMax:
|
||||
return 0
|
||||
elif xMod10i < reversedMax:
|
||||
|
||||
Reference in New Issue
Block a user