comefrom: <doocs>0367.Valid Perfect Square_1.py
code: def isPerfectSquare( num: int) -> bool:
      left, right = 1, num
      while left < right:
          mid = (left + right) >> 1
          if mid * mid >= num:
              right = mid
          else:
              left = mid + 1
      return left * left == num
masked: def sample_funcname ( var_0 : int ) -> bool :
      var_4 , var_5 = 1 , var_0
      while var_4 < var_5 :
          var_6 = ( var_4 + var_5 ) >> 1
          if var_6 * var_6 >= var_0 :
              var_5 = var_6
          else :
              var_4 = var_6 + 1
      return var_4 * var_4 == var_0
  