-코드
while 1:
l, w, a = map(int, input().split())
if l == w == a == 0:
break
if l == 0:
print(a // w, w, a)
elif w == 0:
print(l, a // l, a)
else:
print(l, w, l * w)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬]7891번 Can you add this? (0) | 2021.04.09 |
---|---|
[백준/파이썬]10180번 Ship Selection (0) | 2021.04.09 |
[백준/파이썬]14782번 Bedtime Reading, I (0) | 2021.04.09 |
[백준/파이썬]15340번 Sim Card (0) | 2021.04.09 |
[백준/파이썬]19774번 ABCD-код (0) | 2021.04.08 |