We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa0f73 commit d3848aeCopy full SHA for d3848ae
βing-eoking/λ©μ©‘ν μ¬κ°ν.pyβ
@@ -0,0 +1,2 @@
1
+from math import gcd
2
+def solution(w, h): return w * h - w - h + gcd(w, h)
0 commit comments