We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f253f commit d94975bCopy full SHA for d94975b
1 file changed
sum-of-two-integers/8804who.py
@@ -0,0 +1,5 @@
1
+import math
2
+class Solution:
3
+ def getSum(self, a: int, b: int) -> int:
4
+ return int(math.log(2**a * 2**b, 2))
5
+
0 commit comments