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_5 = var_3 = 0
      for var_6 , var_7 in var_0 :
          var_9 = min ( var_6 , var_7 )
          if var_3 < var_9 :
              var_3 , var_5 = var_9 , 1
          elif var_3 == var_9 :
              var_5 += 1
      return var_5
  