[백준/Python] 10178 - 할로윈의 사탕

orangesnail·2025년 3월 15일

백준

목록 보기
66/169

https://www.acmicpc.net/problem/10178


t = int(input())

for _ in range(t):
    c, v = map(int, input().split())

    print(f"You get {c // v} piece(s) and your dad gets {c % v} piece(s).")
profile
초보입니다. 피드백 환영합니다 😗

0개의 댓글