Skip to content

Commit d3848ae

Browse files
ing-eokingbugs-bot
authored andcommitted
🐜 Study: λ©€μ©‘ν•œ μ‚¬κ°ν˜• (#82)
1 parent 6aa0f73 commit d3848ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
Β (0)