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_1 , var_2 = 1 , var_0
      while var_1 < var_2 :
          var_3 = ( var_1 + var_2 ) >> 1
          if var_3 * var_3 >= var_0 :
              var_2 = var_3
          else :
              var_1 = var_3 + 1
      return var_1 * var_1 == var_0
  