comefrom: <doocs>1725.Number Of Rectangles That Can Form The Largest Square_1.py
code: def countGoodRectangles( rectangles: List[List[int]]) -> int:
      ans = mx = 0
      for l, w in rectangles:
          t = min(l, w)
          if mx < t:
              mx, ans = t, 1
          elif mx == t:
              ans += 1
      return ans
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> int :
      var_2 = var_1 = 0
      for var_3 , var_4 in var_0 :
          var_5 = min ( var_3 , var_4 )
          if var_1 < var_5 :
              var_1 , var_2 = var_5 , 1
          elif var_1 == var_5 :
              var_2 += 1
      return var_2
  