티스토리 뷰
📖 question
https://www.acmicpc.net/problem/10178
✍️ answer
n = int(input())
for i in range(n):
c, v = map(int, input().split())
son = c // v
dad = c % v
print("You get {} piece(s) and your dad gets {} piece(s).".format(son, dad))
댓글