本文共 248 字,大约阅读时间需要 1 分钟。
class Solution: def maxCount(self, m: int, n: int, ops: List[List[int]]) -> int: if not ops: return m * n min_row = min(row[0] for row in ops) min_col = min(col[1] for col in ops) return (min_row * min_col)
转载地址:http://wjsl.baihongyu.com/