Skip to content

Commit baa2b80

Browse files
Merge pull request #587 from jungeunyooon/main
[윤정은] 80차 라이브 코테 제출
2 parents 7735a6f + 8203a74 commit baa2b80

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

live7/test80/문제1/윤정은.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
n, k = map(int, input().split())
2+
result = 0
3+
while n != k:
4+
if (n>k):
5+
n -= 1
6+
result += 1
7+
elif (n<k):
8+
n -= 1
9+
result += 1
10+
n *= 2

live7/test80/문제2/윤정은.py

Whitespace-only changes.

live7/test80/문제3/윤정은.py

Whitespace-only changes.

0 commit comments

Comments
 (0)