diff options
-rw-r--r-- | 13.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,8 +12,8 @@ def compare(l, r): cmp = compare(a, b) if cmp != 0: return cmp return compare(len(l), len(r)) - case ([*l], int(r)): return compare(l, [r]) - case (int(l), [*r]): return compare([l], r) + case ( [*l], int(r)): return compare(l, [r]) + case (int(l), [*r]): return compare([l], r) case (int(l), int(r)): return min(max(l - r, -1), 1) p1 = 0 |