Skip to content

Baekjoon 10178

1. Problem

문제 확인하기

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

for _ in range(int(input())):
    c, v = map(int, input().split())
    print(f"You get {c//v} piece(s) and your dad gets {c%v} piece(s).")