Skip to content

Commit

Permalink
Merge pull request #587 from jungeunyooon/main
Browse files Browse the repository at this point in the history
[윤정은] 80차 라이브 코테 제출
  • Loading branch information
github-actions[bot] authored Feb 17, 2025
2 parents 7735a6f + 8203a74 commit baa2b80
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions live7/test80/문제1/윤정은.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
n, k = map(int, input().split())
result = 0
while n != k:
if (n>k):
n -= 1
result += 1
elif (n<k):
n -= 1
result += 1
n *= 2
Empty file.
Empty file.

0 comments on commit baa2b80

Please sign in to comment.