class Solution: def __init__(self): self.num = 0 # 计算[i, j]位数之和 def cal(self, i, j): ls...