Skip to content

Baekjoon 10474

1. Problem

문제 확인하기

2. Solution (Python, memory: 31256KB, time: 128ms)

while True:
    a, b = map(int, input().split())
    if not(a|b): break
    print(f"{a//b} {a%b} / {b}")